diff --git a/modules/home/nvf.nix b/modules/home/nvf.nix index 1f735a8..35acb53 100644 --- a/modules/home/nvf.nix +++ b/modules/home/nvf.nix @@ -121,6 +121,9 @@ lspSignature.enable = true; otter-nvim.enable = false; nvim-docs-view.enable = false; + servers.nil = { + settings.nil.nix.autoEvalInputs = true; + }; }; languages = { @@ -225,18 +228,6 @@ }; luaConfigPost = '' - -- Nix LSP (nil) configuration for auto-eval-inputs - local lspconfig = require('lspconfig') - lspconfig.nil_ls.setup({ - settings = { - ['nil'] = { - nix = { - auto_eval_inputs = true, - }, - }, - }, - }) - -- Auto-update programming wordlist on first startup vim.api.nvim_create_autocmd("VimEnter", { callback = function()