diff options
| author | Qing Fu <16662647+zz5840@users.noreply.github.com> | 2025-07-05 19:43:24 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-05 04:43:24 -0700 |
| commit | 6a22e63f5ac014cfd6622904f3d7323954197480 (patch) | |
| tree | af6a8ccf93b4c1e9cad02d818ae3da4b5db3a3dd /lsp/codebook.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-6a22e63f5ac014cfd6622904f3d7323954197480.tar nvim-lspconfig-6a22e63f5ac014cfd6622904f3d7323954197480.tar.gz nvim-lspconfig-6a22e63f5ac014cfd6622904f3d7323954197480.tar.bz2 nvim-lspconfig-6a22e63f5ac014cfd6622904f3d7323954197480.tar.lz nvim-lspconfig-6a22e63f5ac014cfd6622904f3d7323954197480.tar.xz nvim-lspconfig-6a22e63f5ac014cfd6622904f3d7323954197480.tar.zst nvim-lspconfig-6a22e63f5ac014cfd6622904f3d7323954197480.zip | |
feat: codebook lsp #3937
Diffstat (limited to 'lsp/codebook.lua')
| -rw-r--r-- | lsp/codebook.lua | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lsp/codebook.lua b/lsp/codebook.lua new file mode 100644 index 00000000..8a8700b5 --- /dev/null +++ b/lsp/codebook.lua @@ -0,0 +1,32 @@ +---@brief +--- +--- 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`. +--- +return { + cmd = { 'codebook-lsp', 'serve' }, + filetypes = { + 'c', + 'css', + 'go', + 'haskell', + 'html', + 'javascript', + 'javascriptreact', + 'markdown', + 'python', + 'php', + 'ruby', + 'rust', + 'toml', + 'text', + 'typescript', + 'typescriptreact', + }, + root_markers = { '.git', 'codebook.toml', '.codebook.toml' }, +} |
