improve notes workflow and macOS shell setup
This commit is contained in:
parent
cbf9db155c
commit
55390ebcde
5 changed files with 83 additions and 21 deletions
|
|
@ -106,6 +106,31 @@ return {
|
|||
lspconfig.mdx_analyzer.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- Harper grammar checking for prose. Keep the profile quiet so it does
|
||||
-- not enforce capitalization, spelling, sentence length, or house style.
|
||||
lspconfig.harper_ls.setup({
|
||||
capabilities = capabilities,
|
||||
filetypes = { "markdown", "text" },
|
||||
settings = {
|
||||
["harper-ls"] = {
|
||||
diagnosticSeverity = "hint",
|
||||
linters = {
|
||||
AvoidContractions = false,
|
||||
AvoidCurses = false,
|
||||
Cant = false,
|
||||
CapitalizePersonalPronouns = false,
|
||||
GoogleNames = false,
|
||||
LongSentences = false,
|
||||
OrthographicConsistency = false,
|
||||
OxfordComma = false,
|
||||
SentenceCapitalization = false,
|
||||
SpellCheck = false,
|
||||
UseTitleCase = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue