Skip to content

Commit

Permalink
feat(lsp): added example for custom lsp server setup
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 7, 2023
1 parent fad5d20 commit 6fa45a4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {},
Expand Down

0 comments on commit 6fa45a4

Please sign in to comment.