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