diff options
author | LostNeophyte <[email protected]> | 2023-02-11 14:45:15 +0100 |
---|---|---|
committer | LostNeophyte <[email protected]> | 2023-02-11 14:45:15 +0100 |
commit | 3144585515000a1c3064c6129ded74f662598de1 (patch) | |
tree | ad998489b8e5003a4dd784edd01a857b0d56f752 /lua/lvim/plugins.lua | |
parent | 7be867e2aac31ef04565eaba6b416ede766c06d7 (diff) | |
parent | c27d6a6c3e3aafc66e32cb3640876197ffab4da5 (diff) |
Merge remote-tracking branch 'origin/master' into refactor/builtins
Diffstat (limited to 'lua/lvim/plugins.lua')
-rw-r--r-- | lua/lvim/plugins.lua | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index b7976c5a..1278ed01 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -9,6 +9,13 @@ local core_plugins = { { "williamboman/mason-lspconfig.nvim", cmd = { "LspInstall", "LspUninstall" }, + config = function() + require("mason-lspconfig").setup(lvim.lsp.installer.setup) + + -- automatic_installation is handled by lsp-manager + local settings = require "mason-lspconfig.settings" + settings.current.automatic_installation = false + end, lazy = true, dependencies = "mason.nvim", }, @@ -120,7 +127,15 @@ local core_plugins = { vim.opt.rtp:prepend(path) -- treesitter needs to be before nvim's runtime in rtp require("lvim.core.builtins").setup "treesitter" end, - cmd = { "TSInstall", "TSUninstall", "TSUpdate", "TSInstallInfo", "TSInstallSync", "TSInstallFromGrammar" }, + cmd = { + "TSInstall", + "TSUninstall", + "TSUpdate", + "TSUpdateSync", + "TSInstallInfo", + "TSInstallSync", + "TSInstallFromGrammar", + }, event = "User FileOpened", }, { |