feat(lsp): added example for custom lsp server setup
This commit is contained in:
parent
fad5d20521
commit
6fa45a4939
@ -3,6 +3,13 @@ return {
|
|||||||
-- uncomment and add lsp servers with their config to servers below
|
-- uncomment and add lsp servers with their config to servers below
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"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
|
---@type lspconfig.options
|
||||||
-- servers = {
|
-- servers = {
|
||||||
-- jsonls = {},
|
-- jsonls = {},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user