Skip to content

Commit a23ba1e

Browse files
committed
tweaks: warnings
1 parent 5f2811a commit a23ba1e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lua/plugins/mason-lspconfig.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
local opts = {
2+
-- Exclude formatter-only tools that Mason installs but shouldn't be started as LSP servers.
3+
-- mason-lspconfig auto-enables all installed Mason packages via vim.lsp.enable(); formatters
4+
-- like stylua have an lsp/ config in nvim-lspconfig that tries to run them with --lsp, which fails.
5+
automatic_enable = {
6+
exclude = { "stylua" },
7+
},
28
ensure_installed = {
39
"angularls",
410
"awk_ls",

0 commit comments

Comments
 (0)