diff --git a/nix/users/base/neovim/default.nix b/nix/users/base/neovim/default.nix index dbd50c1..ccf8ba9 100644 --- a/nix/users/base/neovim/default.nix +++ b/nix/users/base/neovim/default.nix @@ -125,6 +125,11 @@ ])); config = toLuaFile ./plugins/treesitter.lua; } + + { + plugin = toggleterm-nvim; + config = toLuaFile ./plugins/toggleterm.lua; + } ]; extraLuaConfig = '' diff --git a/nix/users/base/neovim/plugins/toggleterm.lua b/nix/users/base/neovim/plugins/toggleterm.lua new file mode 100644 index 0000000..9a26be8 --- /dev/null +++ b/nix/users/base/neovim/plugins/toggleterm.lua @@ -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 = [[]], + direction = 'horizontal', +}) \ No newline at end of file