blob: 4f2ae44419543ceac9b893fae244bb3ea3199c84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
" use global languagetool
let g:grammarous#languagetool_cmd = 'languagetool'
" Search only in comment section for certain filestypes
let g:grammarous#default_comments_only_filetypes = {
\ '*' : 1, 'help' : 0, 'markdown' : 0, 'tex' : 0
\ }
" Disable some troublesome error types
let g:grammarous#disabled_rules = {
\ '*' : ['WHITESPACE_RULE', 'EN_QUOTES'],
\ 'help' : ['WHITESPACE_RULE', 'EN_QUOTES', 'SENTENCE_WHITESPACE', 'UPPERCASE_SENTENCE_START'],
\ }
|