From 6fa45a4939f1e1199b69c73129f0ecdc781f5ea4 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sat, 7 Jan 2023 11:16:22 +0100 Subject: [PATCH] feat(lsp): added example for custom lsp server setup --- lua/plugins/lsp.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index bb431b2..6a7506b 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -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 = {}, -- 2.39.2