From c475fc5c21f7e0b9b62005db53df096543c29f01 Mon Sep 17 00:00:00 2001 From: zymon Date: Sun, 1 Sep 2024 15:26:36 +0200 Subject: [PATCH] auto install lsp --- lua/znvim/plugins/lsp.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/lua/znvim/plugins/lsp.lua b/lua/znvim/plugins/lsp.lua index f6a29f8..d897102 100644 --- a/lua/znvim/plugins/lsp.lua +++ b/lua/znvim/plugins/lsp.lua @@ -139,6 +139,32 @@ return { end, }, + { + "https://github.com/williamboman/mason-lspconfig.nvim", + lazy = true, + opts = { + ensure_installed = { + "bashls", + "clangd", + -- "neocmake", + "dockerls", + "elixirls", + "fennel_ls", + "fortls", + "html", + "biome", -- js + json + "texlab", + "lua_ls", + "julials", + "pyright", + "rust_analyzer", + "cssls", + "typst_lsp", + -- "hdl_checker", + }, + } + }, + { -- portable package manager "https://github.com/williamboman/mason.nvim", cmd = "Mason",