neovim: add plugins and themes
This commit is contained in:
		
							parent
							
								
									00c44ba7ed
								
							
						
					
					
						commit
						f9a6d798ea
					
				
					 1 changed files with 58 additions and 0 deletions
				
			
		|  | @ -40,8 +40,66 @@ in { | |||
|       ''; | ||||
| 
 | ||||
|       plugins = with pkgs.vimPlugins; [ | ||||
|         barbar-nvim | ||||
|         nvim-web-devicons | ||||
|         vim-nix | ||||
|         vim-visual-multi | ||||
|         { | ||||
|           plugin = nvim-tree-lua; | ||||
|           type = "lua"; | ||||
|           config = '' | ||||
|             require("nvim-tree").setup({ | ||||
|               renderer = { | ||||
|                 icons = { | ||||
|                   show = { | ||||
|                     file = true, | ||||
|                     folder = true, | ||||
|                     folder_arrow = true, | ||||
|                     git = true, | ||||
|                   }, | ||||
|                   glyphs = { | ||||
|                     git = { | ||||
|                       unstaged = "", | ||||
|                       staged = "", | ||||
|                       unmerged = "", | ||||
|                       renamed = "", | ||||
|                       untracked = "", | ||||
|                       deleted = "", | ||||
|                       ignored = "", | ||||
|                     }, | ||||
|                   }, | ||||
|                 }, | ||||
|               }, | ||||
|               view = { | ||||
|                 width = 30, | ||||
|                 side = 'left', | ||||
|               }, | ||||
|               sync_root_with_cwd = true, --fix to open cwd with tree | ||||
|               respect_buf_cwd = true, | ||||
|               update_cwd = true, | ||||
|               update_focused_file = { | ||||
|                 enable = true, | ||||
|                 update_cwd = true, | ||||
|                 update_root = true, | ||||
|               }, | ||||
|             }) | ||||
| 
 | ||||
|             vim.g.nvim_tree_respect_buf_cwd = 1 | ||||
| 
 | ||||
|             -- use g? for bindings help while in tree | ||||
|           ''; | ||||
|         } | ||||
|         { | ||||
|           plugin = gruvbox-nvim; | ||||
|           type = "lua"; | ||||
|           config = '' | ||||
|             require("gruvbox").setup({ | ||||
|               contrast = "high", | ||||
|             }) | ||||
|             vim.o.background = "dark" | ||||
|             vim.cmd([[colorscheme gruvbox]]) | ||||
|           ''; | ||||
|         } | ||||
|       ]; | ||||
|     }; | ||||
|     home.sessionVariables = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue