From b7ef29a8886a57aadb787807a7c6cf74c1f0ed3a Mon Sep 17 00:00:00 2001 From: anand Date: Wed, 17 Dec 2025 15:57:55 +0530 Subject: Nixos --- nvim/lsp/codebook.lua | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 nvim/lsp/codebook.lua (limited to 'nvim/lsp/codebook.lua') diff --git a/nvim/lsp/codebook.lua b/nvim/lsp/codebook.lua new file mode 100755 index 0000000..8a8700b --- /dev/null +++ b/nvim/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' }, +} -- cgit v1.2.3