return {
cmd = { 'harper-ls', '--stdio' },
filetypes = {
-- 'lua',
'markdown',
'typst',
'latex',
'tex',
},
single_file_support = true,
settings = {
["harper-ls"] = {
userDictPath = "",
fileDictPath = "",
linters = {
SpellCheck = true,
SpelledNumbers = false,
AnA = true,
SentenceCapitalization = true,
UnclosedQuotes = true,
WrongQuotes = false,
LongSentences = true,
RepeatedWords = true,
Spaces = true,
Matcher = true,
CorrectNumberSuffix = true
},
codeActions = {
ForceStable = false
},
markdown = {
IgnoreLinkTitle = false
},
diagnosticSeverity = "hint",
isolateEnglish = false,
dialect = "American",
}
}
}
- init
- readme
- LuaSnip
- ftpugin
- lsp
-
lua
-
└──
core
- └── init
- └── keymaps
- └── lazy-bootstrap
- └── options
-
└──
lazy-plugins
- └── ai
- └── cmp
- └── colorscheme
- └── edit
- └── external
- └── filemanager
- └── format
- └── fun
- └── git
- └── lines
- └── lsp
- └── md
- └── nav
- └── snack
- └── start
- └── tex
- └── treesitter
- └── typst
- └── ui
- └── utils
-
└──
util
- └── latex
-
└──
core
-
plugin
- └── autocmds
- └── commands
- └── fold
- └── highlight
- └── lsp
-
snipmate
-
└──
lua
- └── nvim
- └── markdown
-
└──
tex
- └── abbre
- └── templates
-
└──
lua