diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-07-10 12:48:49 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-07-10 12:48:49 +0000 |
| commit | 408f5375fac99a6601fcd6fd08f388ec10108126 (patch) | |
| tree | c59b3501aedb4638ba0e9b5b4a572bcc39f0ff1f /doc | |
| parent | fix(docs): "commands" item breaks docgen #3944 (diff) | |
| download | nvim-lspconfig-408f5375fac99a6601fcd6fd08f388ec10108126.tar nvim-lspconfig-408f5375fac99a6601fcd6fd08f388ec10108126.tar.gz nvim-lspconfig-408f5375fac99a6601fcd6fd08f388ec10108126.tar.bz2 nvim-lspconfig-408f5375fac99a6601fcd6fd08f388ec10108126.tar.lz nvim-lspconfig-408f5375fac99a6601fcd6fd08f388ec10108126.tar.xz nvim-lspconfig-408f5375fac99a6601fcd6fd08f388ec10108126.tar.zst nvim-lspconfig-408f5375fac99a6601fcd6fd08f388ec10108126.zip | |
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/configs.md | 11 | ||||
| -rw-r--r-- | doc/configs.txt | 9 |
2 files changed, 18 insertions, 2 deletions
diff --git a/doc/configs.md b/doc/configs.md index b8bb71fe..bb9e751c 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -4790,7 +4790,7 @@ Default config: ```lua { "go", "gomod", "gowork", "gotmpl" } ``` -- `root_dir`: [../lsp/gopls.lua:21](../lsp/gopls.lua#L21) +- `root_dir`: [../lsp/gopls.lua:88](../lsp/gopls.lua#L88) --- @@ -12086,11 +12086,20 @@ Snippet to enable the language server: vim.lsp.enable('ts_ls') ``` +Commands: +- editor.action.showReferences + Default config: - `cmd` : ```lua { "typescript-language-server", "--stdio" } ``` +- `commands` : + ```lua + { + ["editor.action.showReferences"] = <function 1> + } + ``` - `filetypes` : ```lua { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" } diff --git a/doc/configs.txt b/doc/configs.txt index 52f60ed1..e1190d9d 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -3383,7 +3383,7 @@ Default config: { "gopls" } - filetypes: >lua { "go", "gomod", "gowork", "gotmpl" } -- root_dir (use "gF" to view): ../lsp/gopls.lua:21 +- root_dir (use "gF" to view): ../lsp/gopls.lua:88 < ------------------------------------------------------------------------------ @@ -8957,9 +8957,16 @@ Snippet to enable the language server: >lua vim.lsp.enable('ts_ls') +Commands: +- editor.action.showReferences + Default config: - cmd: >lua { "typescript-language-server", "--stdio" } +- commands: >lua + { + ["editor.action.showReferences"] = <function 1> + } - filetypes: >lua { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" } - handlers: >lua |
