nvim
This commit is contained in:
		
							parent
							
								
									e1512e79af
								
							
						
					
					
						commit
						fe74dee2a1
					
				
					 4 changed files with 14 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -156,13 +156,10 @@ local servers = {
 | 
			
		|||
            },
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
    ocamllsp = {},
 | 
			
		||||
    -- denols = {},
 | 
			
		||||
    -- svelte = {},
 | 
			
		||||
    -- tailwindcss = {
 | 
			
		||||
    --     root_dir = lspconfig.util.root_pattern("tailwind.config.js", "tailwind.config.ts", "tailwind.config.cjs"),
 | 
			
		||||
    -- },
 | 
			
		||||
    -- tsserver = {},
 | 
			
		||||
    elixirls = {
 | 
			
		||||
        cmd = { "elixir-ls" }
 | 
			
		||||
    },
 | 
			
		||||
    tsserver = {},
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
for lsp, settings in pairs(servers) do
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								nvim/dot-config/nvim/after/plugin/mason.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								nvim/dot-config/nvim/after/plugin/mason.lua
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
local ok, mason = pcall(require, "mason")
 | 
			
		||||
if not ok then
 | 
			
		||||
    return
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
mason.setup()
 | 
			
		||||
| 
						 | 
				
			
			@ -7,9 +7,9 @@ treesitter.setup {
 | 
			
		|||
    highlight = {
 | 
			
		||||
        enable = true,
 | 
			
		||||
    },
 | 
			
		||||
    indent = {
 | 
			
		||||
        enable = { "php" },
 | 
			
		||||
    },
 | 
			
		||||
    -- indent = {
 | 
			
		||||
    --     enable = { "php" },
 | 
			
		||||
    -- },
 | 
			
		||||
    textobjects = {
 | 
			
		||||
        select = {
 | 
			
		||||
            enable = true,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,6 +28,7 @@ require "paq" {
 | 
			
		|||
    "windwp/nvim-autopairs",
 | 
			
		||||
    "goolord/alpha-nvim",
 | 
			
		||||
    "mickael-menu/zk-nvim",
 | 
			
		||||
    "williamboman/mason.nvim",
 | 
			
		||||
 | 
			
		||||
    -- Treesitter
 | 
			
		||||
    { "nvim-treesitter/nvim-treesitter", run = vim.cmd.TSUpdate, branch = "v0.9.0" },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue