feat(nvim): nix lsp
This commit is contained in:
parent
ab9794ced1
commit
a1885849a2
2 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,7 @@ local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||||
local lspconfig = require('lspconfig')
|
local lspconfig = require('lspconfig')
|
||||||
|
|
||||||
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
|
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
|
||||||
local servers = { 'clangd', 'glsl_analyzer', 'tinymist', 'rust_analyzer', 'vhdl_ls', 'vtsls' }
|
local servers = { 'clangd', 'glsl_analyzer', 'nixd', 'tinymist', 'rust_analyzer', 'vhdl_ls', 'vtsls' }
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig[lsp].setup {
|
lspconfig[lsp].setup {
|
||||||
-- on_attach = my_custom_on_attach,
|
-- on_attach = my_custom_on_attach,
|
||||||
|
|
|
@ -79,6 +79,7 @@ in
|
||||||
"lazygit"
|
"lazygit"
|
||||||
"mypy"
|
"mypy"
|
||||||
"neofetch"
|
"neofetch"
|
||||||
|
"nixd"
|
||||||
"p7zip"
|
"p7zip"
|
||||||
"pinentry"
|
"pinentry"
|
||||||
"ripgrep"
|
"ripgrep"
|
||||||
|
|
Loading…
Reference in a new issue