diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-01-21 13:13:57 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-01-21 13:13:57 +0000 |
| commit | dec357ee48ff7e2e5b76898fd7c67b61a627d3ac (patch) | |
| tree | 8bea45874e1a8288ee7f28985bc2fc04812b6bad | |
| parent | docs(lua_ls): correct nested table workspace.library setting (#4285) (diff) | |
| download | nvim-lspconfig-dec357ee48ff7e2e5b76898fd7c67b61a627d3ac.tar nvim-lspconfig-dec357ee48ff7e2e5b76898fd7c67b61a627d3ac.tar.gz nvim-lspconfig-dec357ee48ff7e2e5b76898fd7c67b61a627d3ac.tar.bz2 nvim-lspconfig-dec357ee48ff7e2e5b76898fd7c67b61a627d3ac.tar.lz nvim-lspconfig-dec357ee48ff7e2e5b76898fd7c67b61a627d3ac.tar.xz nvim-lspconfig-dec357ee48ff7e2e5b76898fd7c67b61a627d3ac.tar.zst nvim-lspconfig-dec357ee48ff7e2e5b76898fd7c67b61a627d3ac.zip | |
docs: update configs.md
skip-checks: true
| -rw-r--r-- | doc/configs.md | 30 | ||||
| -rw-r--r-- | doc/configs.txt | 30 |
2 files changed, 28 insertions, 32 deletions
diff --git a/doc/configs.md b/doc/configs.md index e5c66844..bb58c60a 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -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 = {}, + }, }) ``` diff --git a/doc/configs.txt b/doc/configs.txt index d9cb9d1e..f658f969 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -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: |
