AutoYADM commit: 2024-12-06 17:05:03

This commit is contained in:
Daniel Fichtinger 2024-12-06 17:05:03 -05:00
parent ab1e140c13
commit 887bdee627
2 changed files with 48 additions and 3 deletions

View file

@ -0,0 +1,45 @@
return {
{
"neovim/nvim-lspconfig",
opts = {
servers = {
harper_ls = {
-- autostart = false,
-- filetypes = {
-- "tex",
-- },
-- on_attach = function(client, bufnr)
-- require("ltex_extra").setup(extraOpts)
-- end,
settings = {
harper_ls = {
-- fileDictPath = "~/.harper/"
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,
},
},
},
},
},
},
},
{
"williamboman/mason-lspconfig.nvim",
opts = { ensure_installed = { "harper_ls" } },
},
}