Replace nil_ls with nixd

This commit is contained in:
Oliver Davies 2024-10-23 21:07:26 +01:00
parent 05114e59b7
commit 8d07d76e2b
3 changed files with 18 additions and 2 deletions
config/neovim/lua/opdavies/lsp

View file

@ -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" },