added ts_ls and nix
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
local options = {
|
local options = {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
-- css = { "prettier" },
|
css = { "prettier" },
|
||||||
-- html = { "prettier" },
|
html = { "prettier" },
|
||||||
|
nix = { "alejandra" },
|
||||||
},
|
},
|
||||||
|
|
||||||
-- format_on_save = {
|
-- format_on_save = {
|
||||||
|
|||||||
@@ -54,3 +54,18 @@ lspconfig.bashls.setup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lspconfig.bashls.setup {
|
||||||
|
on_attach = nvlsp.on_attach,
|
||||||
|
-- on_init = nvlsp.on_init,
|
||||||
|
capabilities = nvlsp.capabilities,
|
||||||
|
settings = {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
lspconfig.rnix.setup {
|
||||||
|
on_attach = nvlsp.on_attach,
|
||||||
|
capabilities = nvlsp.capabilities,
|
||||||
|
settings = {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user