diff options
| author | Folke Lemaitre <folke.lemaitre@gmail.com> | 2023-01-07 11:16:22 +0100 |
|---|---|---|
| committer | Folke Lemaitre <folke.lemaitre@gmail.com> | 2023-01-07 11:16:22 +0100 |
| commit | 6fa45a4939f1e1199b69c73129f0ecdc781f5ea4 (patch) | |
| tree | b4925aa50aba20abcc0276a944eb4d38c29b8cee /lua/plugins | |
| parent | fad5d20521ff5cc261331675c164ba17e52c43ae (diff) | |
feat(lsp): added example for custom lsp server setup
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/lsp.lua | 7 |
1 files changed, 7 insertions, 0 deletions
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 = {}, |
