added html plugins and core options file
This commit is contained in:
		
							
								
								
									
										9
									
								
								nix/users/base/neovim/core/colors.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								nix/users/base/neovim/core/colors.lua
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
local status, color = pcall(vim.cmd.colorscheme, "catppuccin")
 | 
			
		||||
if not status then
 | 
			
		||||
	print(color, 'using murphy instead')
 | 
			
		||||
	vim.cmd.colorscheme("murphy")
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
vim.opt.fillchars:append { eob = " "}
 | 
			
		||||
vim.cmd.set("noshowmode")
 | 
			
		||||
vim.cmd.set("noruler")
 | 
			
		||||
@@ -42,10 +42,25 @@
 | 
			
		||||
        config = toLuaFile ./plugins/indent.lua;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      {
 | 
			
		||||
        plugin = nvim-ts-autotag;
 | 
			
		||||
        config = toLuaFile ./plugins/autotag.lua;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      {
 | 
			
		||||
        plugin = nvim-colorizer-lua;
 | 
			
		||||
        config = toLuaFile ./plugins/colorizer.lua;
 | 
			
		||||
      }
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    extraLuaConfig = ''
 | 
			
		||||
      vim.cmd("runtime! core/*.lua")
 | 
			
		||||
    '';
 | 
			
		||||
 | 
			
		||||
    extraPackages = with pkgs; [
 | 
			
		||||
      lua-language-server
 | 
			
		||||
      nodePackages_latest.vscode-langservers-extracted
 | 
			
		||||
      nixd
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										11
									
								
								nix/users/base/neovim/plugins/autotag.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								nix/users/base/neovim/plugins/autotag.lua
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
local status, plugin = pcall(require, 'nvim-ts-autotag')
 | 
			
		||||
if not status then
 | 
			
		||||
	print('Error with plugin: ', plugin)
 | 
			
		||||
	return
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
plugin.setup({
 | 
			
		||||
    autotag = {
 | 
			
		||||
		enable = true,
 | 
			
		||||
	}
 | 
			
		||||
})
 | 
			
		||||
@@ -49,7 +49,4 @@ plugin.setup({
 | 
			
		||||
        },
 | 
			
		||||
        -- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
 | 
			
		||||
    },
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
-- setup must be called before loading
 | 
			
		||||
vim.cmd.colorscheme "catppuccin"
 | 
			
		||||
})
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
local status, plugin = pcall(require,'indent_blankline')
 | 
			
		||||
local status, plugin = pcall(require,'ibl')
 | 
			
		||||
if not status then
 | 
			
		||||
    print('Error with plugin: ', plugin)
 | 
			
		||||
    return
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user