From 81102c13a889a265c8eb6844503c1ebe257ce516 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sat, 3 Sep 2016 10:45:51 -0600 Subject: add grammarous --- config/grammarous.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config/grammarous.vim (limited to 'config/grammarous.vim') diff --git a/config/grammarous.vim b/config/grammarous.vim new file mode 100644 index 0000000..ef23119 --- /dev/null +++ b/config/grammarous.vim @@ -0,0 +1,10 @@ +" Search only in comment section for certain filestypes +let g:grammarous#default_comments_only_filetypes = { + \ '*' : 1, 'help' : 0, 'markdown' : 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'], + \ } -- cgit v1.2.3-70-g09d2