aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-07-05 11:43:34 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-07-05 11:43:34 +0000
commitbb3fb99cf14daa33014331ac6eb4b5de9180f775 (patch)
tree0ebd04bfa805ac35a60778f38e4fdaf5594c111e /doc
parentfeat: codebook lsp #3937 (diff)
downloadnvim-lspconfig-bb3fb99cf14daa33014331ac6eb4b5de9180f775.tar
nvim-lspconfig-bb3fb99cf14daa33014331ac6eb4b5de9180f775.tar.gz
nvim-lspconfig-bb3fb99cf14daa33014331ac6eb4b5de9180f775.tar.bz2
nvim-lspconfig-bb3fb99cf14daa33014331ac6eb4b5de9180f775.tar.lz
nvim-lspconfig-bb3fb99cf14daa33014331ac6eb4b5de9180f775.tar.xz
nvim-lspconfig-bb3fb99cf14daa33014331ac6eb4b5de9180f775.tar.zst
nvim-lspconfig-bb3fb99cf14daa33014331ac6eb4b5de9180f775.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/configs.md32
-rw-r--r--doc/configs.txt24
2 files changed, 56 insertions, 0 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 6fbb01d8..7fdc1602 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -51,6 +51,7 @@ Nvim by running `:help lspconfig-all`.
- [clojure_lsp](#clojure_lsp)
- [cmake](#cmake)
- [cobol_ls](#cobol_ls)
+- [codebook](#codebook)
- [coffeesense](#coffeesense)
- [contextive](#contextive)
- [coq_lsp](#coq_lsp)
@@ -2156,6 +2157,37 @@ Default config:
---
+## codebook
+
+https://github.com/blopker/codebook
+
+ An unholy spell checker for code.
+
+`codebook-lsp` can be installed by following the instructions [here](https://github.com/blopker/codebook/blob/main/README.md#installation).
+
+The default `cmd` assumes that the `codebook-lsp` binary can be found in `$PATH`.
+
+Snippet to enable the language server:
+```lua
+vim.lsp.enable('codebook')
+```
+
+Default config:
+- `cmd` :
+ ```lua
+ { "codebook-lsp", "serve" }
+ ```
+- `filetypes` :
+ ```lua
+ { "c", "css", "go", "haskell", "html", "javascript", "javascriptreact", "markdown", "python", "php", "ruby", "rust", "toml", "text", "typescript", "typescriptreact" }
+ ```
+- `root_markers` :
+ ```lua
+ { ".git", "codebook.toml", ".codebook.toml" }
+ ```
+
+---
+
## coffeesense
https://github.com/phil294/coffeesense
diff --git a/doc/configs.txt b/doc/configs.txt
index c65861bf..5451f23a 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -1375,6 +1375,30 @@ Default config:
<
------------------------------------------------------------------------------
+codebook
+
+https://github.com/blopker/codebook
+
+ An unholy spell checker for code.
+
+`codebook-lsp` can be installed by following the instructions [here](https://github.com/blopker/codebook/blob/main/README.md#installation).
+
+The default `cmd` assumes that the `codebook-lsp` binary can be found in `$PATH`.
+
+Snippet to enable the language server: >lua
+ vim.lsp.enable('codebook')
+
+
+Default config:
+- cmd: >lua
+ { "codebook-lsp", "serve" }
+- filetypes: >lua
+ { "c", "css", "go", "haskell", "html", "javascript", "javascriptreact", "markdown", "python", "php", "ruby", "rust", "toml", "text", "typescript", "typescriptreact" }
+- root_markers: >lua
+ { ".git", "codebook.toml", ".codebook.toml" }
+<
+
+------------------------------------------------------------------------------
coffeesense
https://github.com/phil294/coffeesense