grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderhx and vcs changesddf0c79

main
809 B40 linesraw
1---@brief
2---
3--- https://github.com/blopker/codebook
4---
5---  An unholy spell checker for code.
6---
7--- `codebook-lsp` can be installed by following the instructions [here](https://github.com/blopker/codebook/blob/main/README.md#installation).
8---
9--- The default `cmd` assumes that the `codebook-lsp` binary can be found in `$PATH`.
10---
11
12---@type vim.lsp.Config
13return {
14  cmd = { 'codebook-lsp', 'serve' },
15  filetypes = {
16    'c',
17    'css',
18    'gitcommit',
19    'go',
20    'haskell',
21    'html',
22    'java',
23    'javascript',
24    'javascriptreact',
25    'lua',
26    'markdown',
27    'php',
28    'python',
29    'ruby',
30    'rust',
31    'swift',
32    'toml',
33    'text',
34    'typescript',
35    'typescriptreact',
36    'typst',
37    'zig',
38  },
39  root_markers = { '.git', '.jj', 'codebook.toml', '.codebook.toml' },
40}