mirror of
https://github.com/tomru/lazyvim.git
synced 2026-03-03 06:27:16 +01:00
feat(lsp): added example for custom lsp server setup
This commit is contained in:
@@ -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 = {},
|
||||||
|
|||||||
Reference in New Issue
Block a user