AutoYADM commit: 2024-12-06 17:20:04

This commit is contained in:
Daniel Fichtinger 2024-12-06 17:20:04 -05:00
parent 23ddf1fc49
commit 47cf6a3cb1

View file

@ -1,3 +1,25 @@
local harperSettings = {
fileDictPath = "/home/fic/.config/harper-ls/file_dictionaries/",
userDictPath = "/home/fic/.config/harper-ls/dictionary.txt",
linters = {
spell_check = true,
spelled_numbers = false,
an_a = true,
sentence_capitalization = true,
unclosed_quotes = true,
wrong_quotes = false,
long_sentences = true,
repeated_words = true,
spaces = true,
matcher = true,
correct_number_suffix = true,
number_suffix_capitalization = true,
multiple_sequential_pronouns = true,
linking_verbs = false,
avoid_curses = true,
terminating_conjunctions = true,
},
}
return {
{
"neovim/nvim-lspconfig",
@ -8,33 +30,6 @@ return {
filetypes = {
"markdown",
},
-- on_attach = function(client, bufnr)
-- require("ltex_extra").setup(extraOpts)
-- end,
settings = {
harper_ls = {
fileDictPath = "/home/fic/.config/harper-ls/file_dictionaries/",
userDictPath = "/home/fic/.config/harper-ls/dictionary.txt",
linters = {
spell_check = true,
spelled_numbers = false,
an_a = true,
sentence_capitalization = true,
unclosed_quotes = true,
wrong_quotes = false,
long_sentences = true,
repeated_words = true,
spaces = true,
matcher = true,
correct_number_suffix = true,
number_suffix_capitalization = true,
multiple_sequential_pronouns = true,
linking_verbs = false,
avoid_curses = true,
terminating_conjunctions = true,
},
},
},
},
},
},