diff options
| author | Cryxtalix <fgx8p9t@protonmail.com> | 2025-02-11 17:10:05 +0800 |
|---|---|---|
| committer | Cryxtalix <fgx8p9t@protonmail.com> | 2025-02-11 17:10:05 +0800 |
| commit | 6be3160d680848f706c0a966a225dc98c6e093e0 (patch) | |
| tree | ced16b0d79e9b05a1cf5a9c5d52c491a1001753b /.config/nvim/lua/plugins | |
| parent | d328cf09d100031736c4b78e645bc3724839f023 (diff) | |
Fixed nvim lsp autoinstalls
Diffstat (limited to '.config/nvim/lua/plugins')
| -rw-r--r-- | .config/nvim/lua/plugins/lsp.lua | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 2fbba75..4e9ef07 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -12,11 +12,13 @@ return { }, { - "williamboman/mason-lspconfig.nvim", - lazy = false, - opts = { - auto_install = true, - }, + "williamboman/mason-lspconfig.nvim", + config = function() + require("mason-lspconfig").setup { + ensure_installed = { "bashls", "lua_ls", "clangd", "marksman", "pyright", "rust_analyzer" }, + automatic_installation = true, + } + end }, { |
