This repository was archived by the owner on Aug 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Change ltex configs? #14
Copy link
Copy link
Open
Description
Hi all,
I gave grammar-guard a go, mainly because I wanted to change my ltex-ls language settings easily and so far nothing has worked (e.g. overriding the default configs of nvim-lsp-installer or trying these instructions.
Setting this:
-- setup the ltex-ls LSP config
require("lspconfig").grammar_guard.setup({
settings = {
ltex = {
enabled = { "bibtex", "context", "context.tex", "html", "latex", "markdown", "org", "restructuredtext", "rsweave"},
language = "en-GB",
diagnosticSeverity = "information",
setenceCacheSize = 2000,
additionalRules = {
enablePickyRules = false,
motherTongue = "en",
},
trace = { server = "off" },
dictionary = {},
disabledRules = {},
hiddenFalsePositives = {},
},
},
})as my config though, appeared to have no effect (settings remain at default).
Did I make a silly mistake somewhere?
Any tips on how to easily edit my configs? (Even better if I could swap languages with a keymap!)
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels