aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-06-04 13:25:23 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-06-04 13:25:23 +0000
commit24439ac34a9b0db600ad0cc84b9792286ba3e3a9 (patch)
tree35566e45fa4964f30331e522740fa1c238167492 /doc
parentfix(clangd): set offset_encoding correctly #3887 (diff)
downloadnvim-lspconfig-24439ac34a9b0db600ad0cc84b9792286ba3e3a9.tar
nvim-lspconfig-24439ac34a9b0db600ad0cc84b9792286ba3e3a9.tar.gz
nvim-lspconfig-24439ac34a9b0db600ad0cc84b9792286ba3e3a9.tar.bz2
nvim-lspconfig-24439ac34a9b0db600ad0cc84b9792286ba3e3a9.tar.lz
nvim-lspconfig-24439ac34a9b0db600ad0cc84b9792286ba3e3a9.tar.xz
nvim-lspconfig-24439ac34a9b0db600ad0cc84b9792286ba3e3a9.tar.zst
nvim-lspconfig-24439ac34a9b0db600ad0cc84b9792286ba3e3a9.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/configs.md3
-rw-r--r--doc/configs.txt3
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 0532af0d..7f711b27 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -2033,7 +2033,8 @@ Default config:
```lua
{ "c", "cpp", "objc", "objcpp", "cuda", "proto" }
```
-- `on_attach`: [../lsp/clangd.lua:60](../lsp/clangd.lua#L60)
+- `on_attach`: [../lsp/clangd.lua:63](../lsp/clangd.lua#L63)
+- `on_init`: [../lsp/clangd.lua:63](../lsp/clangd.lua#L63)
- `root_markers` :
```lua
{ ".clangd", ".clang-tidy", ".clang-format", "compile_commands.json", "compile_flags.txt", "configure.ac", ".git" }
diff --git a/doc/configs.txt b/doc/configs.txt
index afdcec4d..9a6f8d35 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -1286,7 +1286,8 @@ Default config:
{ "clangd" }
- filetypes: >lua
{ "c", "cpp", "objc", "objcpp", "cuda", "proto" }
-- on_attach (use "gF" to view): ../lsp/clangd.lua:60
+- on_attach (use "gF" to view): ../lsp/clangd.lua:63
+- on_init (use "gF" to view): ../lsp/clangd.lua:63
- root_markers: >lua
{ ".clangd", ".clang-tidy", ".clang-format", "compile_commands.json", "compile_flags.txt", "configure.ac", ".git" }
<