Skip to content

Commit

Permalink
Explicitly set lsp servers for it work
Browse files Browse the repository at this point in the history
LunarVim/Neovim-from-scratch#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] williamboman/nvim-lsp-installer#636
  • Loading branch information
Oğulcan Girginç committed May 23, 2022
1 parent 440b42c commit e5b0a57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nvim/lua/user/lsp/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5b0a57

Please sign in to comment.