added toggleterm.nvim
This commit is contained in:
		@@ -125,6 +125,11 @@
 | 
			
		||||
        ]));
 | 
			
		||||
        config = toLuaFile ./plugins/treesitter.lua;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      {
 | 
			
		||||
        plugin = toggleterm-nvim;
 | 
			
		||||
        config = toLuaFile ./plugins/toggleterm.lua;
 | 
			
		||||
      }
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    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',
 | 
			
		||||
})
 | 
			
		||||
		Reference in New Issue
	
	Block a user