From a1885849a2eee9dc52f39ac2a932d73bd6da1c71 Mon Sep 17 00:00:00 2001 From: stitchy Date: Tue, 24 Dec 2024 13:08:10 +0000 Subject: [PATCH] feat(nvim): nix lsp --- config/nvim/nvim.lua | 2 +- packages/default.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/nvim/nvim.lua b/config/nvim/nvim.lua index 66b367a..d518a0d 100644 --- a/config/nvim/nvim.lua +++ b/config/nvim/nvim.lua @@ -37,7 +37,7 @@ local capabilities = require("cmp_nvim_lsp").default_capabilities() local lspconfig = require('lspconfig') -- 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 lspconfig[lsp].setup { -- on_attach = my_custom_on_attach, diff --git a/packages/default.nix b/packages/default.nix index 1d3d24a..80d93e5 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -79,6 +79,7 @@ in "lazygit" "mypy" "neofetch" + "nixd" "p7zip" "pinentry" "ripgrep"