From e5b0a577259052f9a03966c5a0f2c5b3c339e3f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fulcan=20Girgin=C3=A7?= Date: Mon, 23 May 2022 16:23:58 +0300 Subject: [PATCH] Explicitly set lsp servers for it work https://github.com/LunarVim/Neovim-from-scratch/pull/129 Installed servers will no longer automatically be set up for you, you will need to explicitly set them up via lspconfig in your config. If you're installing a brand new server, this means you'll have to make changes to your config and then restart neovim.[1] [1] https://github.com/williamboman/nvim-lsp-installer/discussions/636 --- nvim/lua/user/lsp/configs.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim/lua/user/lsp/configs.lua b/nvim/lua/user/lsp/configs.lua index 71d5ed0..a145139 100644 --- a/nvim/lua/user/lsp/configs.lua +++ b/nvim/lua/user/lsp/configs.lua @@ -5,7 +5,8 @@ end local lspconfig = require("lspconfig") -local servers = { "jsonls", "sumneko_lua" } +-- Add the servers you want to use +local servers = { "cssls", "cssmodules_ls", "html", "denols", "ember", "eslint", "jsonls", "tsserver", "solargraph", "stylelint_lsp", "sumneko_lua", "tailwindcss" } lsp_installer.setup { ensure_installed = servers