Добавил правила исключения для ltex
This commit is contained in:
parent
42b8ebc10e
commit
bb2570bf95
1 changed files with 5 additions and 0 deletions
|
@ -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/',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue