- corrected ltex_lsp config and added nixd settings (still not working correctly)

- improved mini pairs behavior but still not perfect
This commit is contained in:
2025-08-21 19:24:34 +02:00
parent 8ce6221161
commit 871fcb331e
3 changed files with 28 additions and 6 deletions

View File

@@ -164,11 +164,18 @@ return { -- LSP Configuration & Plugins
-- nvim 0.11 or above
vim.lsp.config('vtsls', vtsls_config)
vim.lsp.config('vue_ls', vue_ls_config)
vim.lsp.enable({ 'vtsls', 'vue_ls' })
vim.lsp.enable('nixd', {
vim.lsp.config('nixd', {
settings = {
nixpkgs = {
expr = "import <nixpkgs> { }"
},
options = {
nixos = {
expr = '(builtins.getFlake "/etc/nixos/").nixosConfigurations.pcerik.options',
},
home_manager = {
expr = '(builtins.getFlake "/etc/nixos").homeConfigurations.erik.options',
},
}
}
})
@@ -180,5 +187,6 @@ return { -- LSP Configuration & Plugins
}
}
})
vim.lsp.enable({ 'vtsls', 'vue_ls', 'ltex_plus', 'nixd' })
end,
}