added toggleterm.nvim
This commit is contained in:
parent
8b8d5797e4
commit
0e0ac190f2
@ -125,6 +125,11 @@
|
|||||||
]));
|
]));
|
||||||
config = toLuaFile ./plugins/treesitter.lua;
|
config = toLuaFile ./plugins/treesitter.lua;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
plugin = toggleterm-nvim;
|
||||||
|
config = toLuaFile ./plugins/toggleterm.lua;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
extraLuaConfig = ''
|
extraLuaConfig = ''
|
||||||
|
10
nix/users/base/neovim/plugins/toggleterm.lua
Normal file
10
nix/users/base/neovim/plugins/toggleterm.lua
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
local status, plugin = pcall(require,'toggleterm')
|
||||||
|
if not status then
|
||||||
|
print('Error with plugin: ', plugin)
|
||||||
|
return
|
||||||
|
end
|
||||||
|
plugin.setup({
|
||||||
|
size = 10,
|
||||||
|
open_mapping = [[<c-\>]],
|
||||||
|
direction = 'horizontal',
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user