diff options
Diffstat (limited to 'vim/.config/nvim/lsp/cspell-ls.lua')
| -rw-r--r-- | vim/.config/nvim/lsp/cspell-ls.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vim/.config/nvim/lsp/cspell-ls.lua b/vim/.config/nvim/lsp/cspell-ls.lua new file mode 100644 index 0000000..4f184af --- /dev/null +++ b/vim/.config/nvim/lsp/cspell-ls.lua @@ -0,0 +1,23 @@ +---@brief +--- +--- [cspell language server](https://github.com/vlabo/cspell-lsp) +--- +return { + cmd = { 'cspell-lsp', '--stdio' }, + filetypes = {"go", "rust", "js", "ts", "html", "css", "json", "yaml", "markdown", "gitcommit", "typst", "lua", "htmlua"}, + root_markers = { + '.git', + 'cspell.json', + '.cspell.json', + 'cspell.json', + '.cSpell.json', + 'cSpell.json', + 'cspell.config.js', + 'cspell.config.cjs', + 'cspell.config.json', + 'cspell.config.yaml', + 'cspell.config.yml', + 'cspell.yaml', + 'cspell.yml', + }, +} |
