nixd
This commit is contained in:
parent
82bae8b9a4
commit
249b5bb10c
2 changed files with 3 additions and 17 deletions
|
@ -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" },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue