From ca3f2997e12ac80998dc6e8c1ad5547442f6e7d9 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 22 Jan 2024 22:28:47 +0100 Subject: [PATCH] fix Mason LSP autoinstall names --- init.lua | 2 ++ lua/weeheavy/plugins/lsp/lsp-zero.lua | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index dfb2f61..9e68290 100644 --- a/init.lua +++ b/init.lua @@ -12,6 +12,8 @@ See https://blog.nikfp.com/how-to-install-and-set-up-neovim-on-windows - ripgrep (https://github.com/BurntSushi/ripgrep, used by telescope) - fd (https://github.com/sharkdp/fd, used by telescope) - A Nerd font (https://www.nerdfonts.com/, used by nvim-web-devicons) +- nodejs-lts (used for npm to install prettier) + - then run "npm i -g npm" - zig, wget, unzip, git, fzf - make, mingw, cmake (https://github.com/nvim-telescope/telescope-fzf-native.nvim#installation) diff --git a/lua/weeheavy/plugins/lsp/lsp-zero.lua b/lua/weeheavy/plugins/lsp/lsp-zero.lua index 97b5311..3e0b422 100644 --- a/lua/weeheavy/plugins/lsp/lsp-zero.lua +++ b/lua/weeheavy/plugins/lsp/lsp-zero.lua @@ -80,10 +80,11 @@ return { require("mason-lspconfig").setup({ ensure_installed = { - "marksman", - "prettier", - "stylua", - "black", + "bashls", + "jsonls", + "lua_ls", + "vimls", + "yamlls", }, handlers = { -- names must align with Mason names