- 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:
@@ -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,
|
||||
}
|
||||
|
Reference in New Issue
Block a user