lets try this again
This commit is contained in:
parent
8424337e40
commit
36c71b8753
2 changed files with 3 additions and 11 deletions
|
@ -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" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue