change mason config to auto install formatter delete cocconfig

This commit is contained in:
gameloader 2023-06-14 11:14:29 +08:00
parent 7fe0aa3562
commit 1c353c9247
2 changed files with 2 additions and 0 deletions

View File

View File

@ -1,4 +1,5 @@
require("mason").setup({ require("mason").setup({
ensure_installed = {"black", "stylua","clang-format","gofmt","styler", "eslint_d", "jq"},
automatic_installation = true, -- automatically detect which servers to install (based on which servers are set up via lspconfig) automatic_installation = true, -- automatically detect which servers to install (based on which servers are set up via lspconfig)
ui = { ui = {
icons = { icons = {
@ -13,3 +14,4 @@ require("mason-lspconfig").setup({
automatic_installation = true, automatic_installation = true,
ensure_installed = { "lua_ls", "clangd", "pyright" }, ensure_installed = { "lua_ls", "clangd", "pyright" },
}) })