mirror of
https://github.com/neovim/nvim-lspconfig.git
synced 2026-05-05 16:46:11 +02:00
docs: update configs.md
skip-checks: true
This commit is contained in:
parent
2f0dd28800
commit
dec357ee48
@ -2438,11 +2438,11 @@ Default config:
|
||||
{
|
||||
editorInfo = {
|
||||
name = "Neovim",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
},
|
||||
editorPluginInfo = {
|
||||
name = "Neovim",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
}
|
||||
}
|
||||
```
|
||||
@ -4875,20 +4875,20 @@ Default config:
|
||||
{
|
||||
editorInfo = {
|
||||
name = "Neovim",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
},
|
||||
editorPluginInfo = {
|
||||
name = "Neovim LSP",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
},
|
||||
extension = {
|
||||
name = "Neovim LSP Client",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
},
|
||||
ide = {
|
||||
name = "Neovim",
|
||||
vendor = "Neovim",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
}
|
||||
}
|
||||
```
|
||||
@ -6941,25 +6941,23 @@ vim.lsp.config('lua_ls', {
|
||||
workspace = {
|
||||
checkThirdParty = false,
|
||||
library = {
|
||||
vim.env.VIMRUNTIME
|
||||
vim.env.VIMRUNTIME,
|
||||
-- Depending on the usage, you might want to add additional paths
|
||||
-- here.
|
||||
-- '${3rd}/luv/library'
|
||||
-- '${3rd}/busted/library'
|
||||
}
|
||||
-- '${3rd}/luv/library',
|
||||
-- '${3rd}/busted/library',
|
||||
},
|
||||
-- Or pull in all of 'runtimepath'.
|
||||
-- NOTE: this is a lot slower and will cause issues when working on
|
||||
-- your own configuration.
|
||||
-- See https://github.com/neovim/nvim-lspconfig/issues/3189
|
||||
-- library = {
|
||||
-- vim.api.nvim_get_runtime_file('', true),
|
||||
-- }
|
||||
}
|
||||
-- library = vim.api.nvim_get_runtime_file('', true),
|
||||
},
|
||||
})
|
||||
end,
|
||||
settings = {
|
||||
Lua = {}
|
||||
}
|
||||
Lua = {},
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
@ -1592,11 +1592,11 @@ Default config:
|
||||
{
|
||||
editorInfo = {
|
||||
name = "Neovim",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
},
|
||||
editorPluginInfo = {
|
||||
name = "Neovim",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
}
|
||||
}
|
||||
- on_attach (use "gF" to view): ../lsp/copilot.lua:106
|
||||
@ -3461,20 +3461,20 @@ Default config:
|
||||
{
|
||||
editorInfo = {
|
||||
name = "Neovim",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
},
|
||||
editorPluginInfo = {
|
||||
name = "Neovim LSP",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
},
|
||||
extension = {
|
||||
name = "Neovim LSP Client",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
},
|
||||
ide = {
|
||||
name = "Neovim",
|
||||
vendor = "Neovim",
|
||||
version = "0.12.0-dev+g3e83f7bec7"
|
||||
version = "0.12.0-dev+g2c2203c040"
|
||||
}
|
||||
}
|
||||
- on_attach (use "gF" to view): ../lsp/gitlab_duo.lua:317
|
||||
@ -5045,25 +5045,23 @@ settings.
|
||||
workspace = {
|
||||
checkThirdParty = false,
|
||||
library = {
|
||||
vim.env.VIMRUNTIME
|
||||
vim.env.VIMRUNTIME,
|
||||
-- Depending on the usage, you might want to add additional paths
|
||||
-- here.
|
||||
-- '${3rd}/luv/library'
|
||||
-- '${3rd}/busted/library'
|
||||
}
|
||||
-- '${3rd}/luv/library',
|
||||
-- '${3rd}/busted/library',
|
||||
},
|
||||
-- Or pull in all of 'runtimepath'.
|
||||
-- NOTE: this is a lot slower and will cause issues when working on
|
||||
-- your own configuration.
|
||||
-- See https://github.com/neovim/nvim-lspconfig/issues/3189
|
||||
-- library = {
|
||||
-- vim.api.nvim_get_runtime_file('', true),
|
||||
-- }
|
||||
}
|
||||
-- library = vim.api.nvim_get_runtime_file('', true),
|
||||
},
|
||||
})
|
||||
end,
|
||||
settings = {
|
||||
Lua = {}
|
||||
}
|
||||
Lua = {},
|
||||
},
|
||||
})
|
||||
|
||||
See `lua-language-server`'s [documentation](https://luals.github.io/wiki/settings/) for an explanation of the above fields:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user