(nvim) tidy up nvim config
This commit is contained in:
parent
2901420626
commit
c6ea262073
2 changed files with 189 additions and 213 deletions
|
|
@ -107,30 +107,6 @@ return {
|
||||||
end, { desc = "Format current buffer with LSP" })
|
end, { desc = "Format current buffer with LSP" })
|
||||||
end)
|
end)
|
||||||
|
|
||||||
lspzero.ensure_installed({
|
|
||||||
"tsserver",
|
|
||||||
"eslint",
|
|
||||||
"tailwindcss",
|
|
||||||
})
|
|
||||||
|
|
||||||
-- lspzero.format_on_save({
|
|
||||||
-- format_ops = {
|
|
||||||
-- async = true,
|
|
||||||
-- timeout_ms = 10000,
|
|
||||||
-- },
|
|
||||||
-- servers = {
|
|
||||||
-- ["lua_ls"] = { "lua" },
|
|
||||||
-- ["null-ls"] = {
|
|
||||||
-- "javascript",
|
|
||||||
-- "typescript",
|
|
||||||
-- "javascriptreact",
|
|
||||||
-- "typescriptreact",
|
|
||||||
-- "html",
|
|
||||||
-- "css",
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- })
|
|
||||||
|
|
||||||
local status, lspconfig = pcall(require, "lspconfig")
|
local status, lspconfig = pcall(require, "lspconfig")
|
||||||
|
|
||||||
if status then
|
if status then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue