diff options
author | doy <doy@tozt.net> | 2009-01-04 18:40:39 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-01-04 18:40:39 -0500 |
commit | 7f68618228419cf5e0a21b5798fa73fad2dfe7ca (patch) | |
tree | edffed0387c1706cb6aa984846c99c227578b684 /vimrc | |
parent | f7f8c55d85983273c78be7efb924b11cbd1019d8 (diff) | |
download | conf-7f68618228419cf5e0a21b5798fa73fad2dfe7ca.tar.gz conf-7f68618228419cf5e0a21b5798fa73fad2dfe7ca.zip |
use syntax omnicompletion if other omnicompletion doesn't exist
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -146,6 +146,13 @@ set wildmode=longest,list,full set noincsearch +if has("autocmd") && exists("+omnifunc") + autocmd FileType * + \ if &omnifunc == "" | + \ setlocal omnifunc=syntaxcomplete#Complete | + \ endif +endif + let mapleader = ';' " }}} " Make vim less whiny {{{ |