Replace nil_ls
with nixd
This commit is contained in:
parent
05114e59b7
commit
8d07d76e2b
|
@ -48,7 +48,21 @@ local servers = {
|
|||
},
|
||||
|
||||
marksman = true,
|
||||
nil_ls = true,
|
||||
|
||||
nixd = {
|
||||
command = { "nixd" },
|
||||
settings = {
|
||||
nixd = {
|
||||
nixpkgs = {
|
||||
expr = "import <nixpkgs> { }",
|
||||
},
|
||||
|
||||
formatting = {
|
||||
command = "nix fmt",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
tailwindcss = {
|
||||
filetypes = { "html", "javascript", "twig", "typescript", "vue" },
|
||||
|
|
|
@ -17,6 +17,8 @@ in
|
|||
permittedInsecurePackages = [ "electron-27.3.11" ];
|
||||
};
|
||||
|
||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
|
||||
# Bootloader.
|
||||
boot = {
|
||||
loader = {
|
||||
|
|
|
@ -281,7 +281,7 @@ in
|
|||
lua-language-server
|
||||
lua54Packages.luacheck
|
||||
marksman
|
||||
nil
|
||||
nixd
|
||||
nodePackages."@tailwindcss/language-server"
|
||||
nodePackages.bash-language-server
|
||||
nodePackages.dockerfile-language-server-nodejs
|
||||
|
|
Loading…
Reference in a new issue