From 1c353c9247a08b00d65cc96728bf19d8fd8c6c0e Mon Sep 17 00:00:00 2001 From: gameloader Date: Wed, 14 Jun 2023 11:14:29 +0800 Subject: [PATCH] change mason config to auto install formatter delete cocconfig --- coc-settings.json | 0 lua/plugin-config/mason.lua | 2 ++ 2 files changed, 2 insertions(+) delete mode 100644 coc-settings.json diff --git a/coc-settings.json b/coc-settings.json deleted file mode 100644 index e69de29..0000000 diff --git a/lua/plugin-config/mason.lua b/lua/plugin-config/mason.lua index 4aa9e3d..b777530 100644 --- a/lua/plugin-config/mason.lua +++ b/lua/plugin-config/mason.lua @@ -1,4 +1,5 @@ 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) ui = { icons = { @@ -13,3 +14,4 @@ require("mason-lspconfig").setup({ automatic_installation = true, ensure_installed = { "lua_ls", "clangd", "pyright" }, }) +