shrug, i forgor

This commit is contained in:
gyoder 2025-12-28 15:38:19 -07:00
parent 428c884e0d
commit a01bb5c0ed
19 changed files with 538 additions and 68 deletions

View file

@ -4,7 +4,7 @@
---
return {
cmd = { 'cspell-lsp', '--stdio' },
filetypes = {"go", "rust", "js", "ts", "html", "css", "json", "yaml", "markdown", "gitcommit", "typst", "lua", "htmlua"},
filetypes = { "go", "rust", "js", "ts", "html", "css", "json", "yaml", "markdown", "gitcommit", "typst", "lua", "htmlua", "c", "cpp", "arduino" },
root_markers = {
'.git',
'cspell.json',
@ -20,4 +20,10 @@ return {
'cspell.yaml',
'cspell.yml',
},
init_options = {
userWordsFile = vim.fn.expand('~/.config/cspell/user-dictionary.txt'),
configPaths = {
vim.fn.expand('~/.cspell.json'),
},
},
}