Добавил правила исключения для ltex

This commit is contained in:
urec56 2025-08-18 17:44:24 +03:00
parent 42b8ebc10e
commit bb2570bf95

View file

@ -308,10 +308,15 @@ return {
settings = {
ltex = {
enabled = { 'bibtex', 'context', 'context.tex', 'html', 'latex', 'markdown', 'org', 'restructuredtext', 'rsweave', 'go' },
language = 'en',
additionalRules = {
enablePickyRules = true,
motherTongue = 'ru-RU',
},
disabledRules = {
['en'] = { 'EN_QUOTES', 'WORD_CONTAINS_UNDERSCORE', 'DASH_RULE', 'PUNCTUATION_PARAGRAPH_END' },
['ru-RU'] = { 'EN_QUOTES', 'WORD_CONTAINS_UNDERSCORE', 'DASH_RULE', 'PUNCTUATION_PARAGRAPH_END' },
},
-- languageToolHttpServerUri = 'http://localhost:8081/',
},
},