summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-03 10:45:51 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-03 10:45:51 -0600
commit81102c13a889a265c8eb6844503c1ebe257ce516 (patch)
tree4ce1dd5a04fcefb10857ae59348ded43199072c7
parent4d23ad4cce8f04cf7ae770a1de3a5bfc5d311e7e (diff)
downloadvim-81102c13a889a265c8eb6844503c1ebe257ce516.tar.gz
vim-81102c13a889a265c8eb6844503c1ebe257ce516.tar.bz2
vim-81102c13a889a265c8eb6844503c1ebe257ce516.zip
add grammarous
-rw-r--r--.gitmodules6
m---------bundle/grammarous0
m---------bundle/unite0
-rw-r--r--config/grammarous.vim10
4 files changed, 16 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 5d45ce7..f90e52b 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -25,3 +25,9 @@
[submodule "bundle/clang"]
path = bundle/clang
url = https://github.com/Rip-Rip/clang_complete.git
+[submodule "bundle/grammarous"]
+ path = bundle/grammarous
+ url = https://github.com/rhysd/vim-grammarous.git
+[submodule "bundle/unite"]
+ path = bundle/unite
+ url = https://github.com/Shougo/unite.vim.git
diff --git a/bundle/grammarous b/bundle/grammarous
new file mode 160000
+Subproject ba20e8c8a77a140e79481664c8581b568585c90
diff --git a/bundle/unite b/bundle/unite
new file mode 160000
+Subproject db619c208bd0f75f0e5ee3db2ed029cd5202058
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'],
+ \ }