feat(nvim): nix lsp

This commit is contained in:
stitchy 2024-12-24 13:08:10 +00:00
parent ab9794ced1
commit a1885849a2
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
2 changed files with 2 additions and 1 deletions

View file

@ -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,

View file

@ -79,6 +79,7 @@ in
"lazygit" "lazygit"
"mypy" "mypy"
"neofetch" "neofetch"
"nixd"
"p7zip" "p7zip"
"pinentry" "pinentry"
"ripgrep" "ripgrep"