Add support for quotes and a couple of other things.

This commit is contained in:
Israel Chauca Fuentes
2017-02-09 12:59:33 -05:00
parent 65016ebe37
commit 4d0060f22b
5 changed files with 127 additions and 89 deletions

View File

@@ -1,17 +1,10 @@
if exists("g:loaded_delimitMate") || &cp
if exists("g:loaded_delimitMate") || &cp || v:version < 800
finish
endif
let g:loaded_delimitMate = 1
let save_cpo = &cpo
set cpo&vim
if v:version < 800
echohl ErrorMsg
echom "delimitMate: this plugin requires vim 8.0 or later!"
echohl None
finish
endif
command! -bar -bang DelimitMateSwitch call delimitMate#ex_cmd(<bang>0,'switch')
command! -bar -bang DelimitMateOn call delimitMate#ex_cmd(<bang>0,'enable')
command! -bar -bang DelimitMateOff call delimitMate#ex_cmd(<bang>0,'disable')