From bb3fb99cf14daa33014331ac6eb4b5de9180f775 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 5 Jul 2025 11:43:34 +0000 Subject: docs: update configs.md skip-checks: true --- doc/configs.md | 32 ++++++++++++++++++++++++++++++++ doc/configs.txt | 24 ++++++++++++++++++++++++ 2 files changed, 56 insertions(+) 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 @@ -1374,6 +1374,30 @@ Default config: { ".git" } < +------------------------------------------------------------------------------ +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 -- cgit v1.2.3-70-g09d2