This commit is contained in:
Sakooooo 2023-08-06 17:35:43 +03:00
parent 82bae8b9a4
commit 249b5bb10c
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 3 additions and 17 deletions

View file

@ -29,23 +29,9 @@ local capabilities = require("cmp_nvim_lsp").default_capabilities()
mason_null_ls.setup()
-- funny lsp config stuff
require('lspconfig').nil_ls.setup({
require('lspconfig').nixd.setup({
on_attach = on_attach,
capabilities = capabilities,
settings = {
['nil'] = {
testSetting = 42,
formatting = {
command = { "nixpkgs-fmt" },
},
nix = {
binary = { "nix" },
maxMemoryMB = { "1024" },
autoEvalInputs = { true },
nixpkgsInputName = { "nixpkgs" },
},
},
},
})

View file

@ -58,8 +58,8 @@
nvim.enable = true;
vscode.enable = true;
};
nixd.enable = false;
nil.enable = true;
nixd.enable = true;
nil.enable = false;
cc.enable = true;
javascript.enable = true;
python.enable = true;