feature check for noinsert

Wed, 23 Aug 2017 12:39:11 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 23 Aug 2017 12:39:11 -0400
changeset 634
96b0221e52c5
parent 633
9308569cd9ba
child 635
38be1320e6db

feature check for noinsert

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -207,7 +207,10 @@ endif
 " Don't assume to scan includes when autocompleting
 set complete-=i complete-=t
 
-set completeopt+=menuone,noinsert
+set completeopt+=menuone
+if has('patch-7.4-775')
+  set completeopt+=noinsert
+endif
 
 " Never open with folds collapsed
 set nofoldenable

mercurial