diff --git a/init.lua b/init.lua index aff5250e..666cab54 100644 --- a/init.lua +++ b/init.lua @@ -750,6 +750,11 @@ do -- Automatically install LSPs and related tools to stdpath for Neovim require('mason').setup {} + -- Translates between nvim-lspconfig server names and mason.nvim package names (e.g. lua_ls <-> lua-language-server) + require('mason-lspconfig').setup { + automatic_enable = false, -- Change this to true if you want to automatically enable servers that are installed manually (e.g. via :Mason / :MasonInstall) + } + -- Ensure the servers and tools above are installed -- -- To check the current status of installed tools and/or manually install