Добавил правила исключения для 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 = { settings = {
ltex = { ltex = {
enabled = { 'bibtex', 'context', 'context.tex', 'html', 'latex', 'markdown', 'org', 'restructuredtext', 'rsweave', 'go' }, enabled = { 'bibtex', 'context', 'context.tex', 'html', 'latex', 'markdown', 'org', 'restructuredtext', 'rsweave', 'go' },
language = 'en',
additionalRules = { additionalRules = {
enablePickyRules = true, enablePickyRules = true,
motherTongue = 'ru-RU', 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/', -- languageToolHttpServerUri = 'http://localhost:8081/',
}, },
}, },