summaryrefslogtreecommitdiff
path: root/config/grammarous.vim
diff options
context:
space:
mode:
Diffstat (limited to 'config/grammarous.vim')
-rw-r--r--config/grammarous.vim10
1 files changed, 10 insertions, 0 deletions
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'],
+ \ }