lets try this again

This commit is contained in:
Sakooooo 2023-08-06 11:01:04 +03:00
parent 8424337e40
commit 36c71b8753
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 3 additions and 11 deletions

View file

@ -30,17 +30,9 @@ local capabilities = require("cmp_nvim_lsp").default_capabilities()
mason_null_ls.setup() mason_null_ls.setup()
-- funny lsp config stuff -- funny lsp config stuff
require('lspconfig').nil_ls.setup({ require('lspconfig').nixd.setup({
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,
settings = {
['nil'] = {
testSetting = 42,
formatting = {
command = { "nixpkgs-fmt" },
},
},
},
}) })

View file

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