mirror of
https://github.com/gyoder/dots.git
synced 2026-02-27 17:03:45 +00:00
nvim: many changes
This commit is contained in:
parent
f571b53d32
commit
7f9cb6e767
7 changed files with 63 additions and 10 deletions
23
vim/.config/nvim/lsp/cspell-ls.lua
Normal file
23
vim/.config/nvim/lsp/cspell-ls.lua
Normal file
|
|
@ -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',
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue