fish and nvim

This commit is contained in:
Grace Yoder 2026-02-25 11:34:24 -05:00
parent ea8682571c
commit ca6bb218fb
3 changed files with 42 additions and 1 deletions

View file

@ -0,0 +1,40 @@
---@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`.
---
---@type vim.lsp.Config
return {
cmd = { 'codebook-lsp', 'serve' },
filetypes = {
'c',
'css',
'gitcommit',
'go',
'haskell',
'html',
'java',
'javascript',
'javascriptreact',
'lua',
'markdown',
'php',
'python',
'ruby',
'rust',
'swift',
'toml',
'text',
'typescript',
'typescriptreact',
'typst',
'zig',
},
root_markers = { '.git', 'codebook.toml', '.codebook.toml' },
}

View file

@ -78,6 +78,7 @@ vim.lsp.config('csharp-ls', {
vim.lsp.enable("csharp-ls")
vim.lsp.enable("asm-lsp")
vim.lsp.enable("codebook")
-- https://lsp-zero.netlify.app/blog/lsp-client-features.html