feat(lsp): added example for custom lsp server setup

This commit is contained in:
Folke Lemaitre 2023-01-07 11:16:22 +01:00
parent fad5d20521
commit 6fa45a4939
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,13 @@ return {
-- uncomment and add lsp servers with their config to servers below
{
"neovim/nvim-lspconfig",
-- you can do any additional lsp server setup here
-- return true if you don't want this server to be setup with lspconfig
---@param server string lsp server name
---@param opts _.lspconfig.options any options set for the server
-- setup_server = function(server, opts)
-- return false
-- end,
---@type lspconfig.options
-- servers = {
-- jsonls = {},