added indent plugin to neovim
This commit is contained in:
		@@ -35,6 +35,12 @@
 | 
			
		||||
      cmp_luasnip
 | 
			
		||||
      luasnip
 | 
			
		||||
      nvim-cmp
 | 
			
		||||
 | 
			
		||||
      # The rest
 | 
			
		||||
      {
 | 
			
		||||
        plugin = indent-blankline-nvim;
 | 
			
		||||
        config = toLuaFile ./plugins/indent.lua;
 | 
			
		||||
      }
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,10 @@
 | 
			
		||||
require("catppuccin").setup({
 | 
			
		||||
local status, plugin = pcall(require,'catppuccin')
 | 
			
		||||
if not status then
 | 
			
		||||
    print('Plugin Error: ', plugin)
 | 
			
		||||
    return
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
plugin.setup({
 | 
			
		||||
    flavour = "mocha", -- latte, frappe, macchiato, mocha
 | 
			
		||||
    background = { -- :h background
 | 
			
		||||
        light = "latte",
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								nix/users/base/neovim/plugins/indent.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								nix/users/base/neovim/plugins/indent.lua
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
local status, plugin = pcall(require,'indent_blankline')
 | 
			
		||||
if not status then
 | 
			
		||||
    print('Error with plugin: ', plugin)
 | 
			
		||||
    return
 | 
			
		||||
end
 | 
			
		||||
plugin.setup{
 | 
			
		||||
    show_current_context = true,
 | 
			
		||||
    show_current_context_start = true,
 | 
			
		||||
}
 | 
			
		||||
vim.g.indent_blankline_filetype_exclude = {'dashboard'}
 | 
			
		||||
		Reference in New Issue
	
	Block a user