feat: update nvim config
This commit is contained in:
@@ -4,8 +4,12 @@ return {
|
||||
"stevearc/conform.nvim",
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
go = { "goimports"},
|
||||
}
|
||||
}
|
||||
}
|
||||
javascript = { "prettierd", "prettier" },
|
||||
javascriptreact = { "prettierd", "prettier" },
|
||||
typescript = { "prettierd", "prettier" },
|
||||
typescriptreact = { "prettierd", "prettier" },
|
||||
go = { "goimports", "gofumpt" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
+20
-13
@@ -2,19 +2,26 @@ return {
|
||||
{
|
||||
"mason-org/mason.nvim",
|
||||
opts = function(_, opts)
|
||||
vim.list_extend(opts.ensure_installed, {
|
||||
"stylua",
|
||||
"selene",
|
||||
"luacheck",
|
||||
--"bashls",
|
||||
"shfmt",
|
||||
--"tailwindcss",
|
||||
"typescript-language-server", -- TypeScript/JavaScript LSP
|
||||
"pylyzer",
|
||||
--"cssls",
|
||||
"buf", -- Protocol Buffers LSP
|
||||
"gopls", -- Go LSP
|
||||
})
|
||||
vim.list_extend(opts.ensure_installed, {
|
||||
"stylua",
|
||||
"selene",
|
||||
"luacheck",
|
||||
"shfmt",
|
||||
"pylyzer",
|
||||
"buf", -- Protocol Buffers LSP
|
||||
|
||||
-- TypeScript/JavaScript
|
||||
"typescript-language-server",
|
||||
"eslint-lsp",
|
||||
"prettierd",
|
||||
|
||||
-- Go
|
||||
"gopls",
|
||||
"goimports",
|
||||
"gofumpt",
|
||||
"golangci-lint",
|
||||
"delve",
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user