delimitMate_offByDefault option to disable delimitMate by default

This commit is contained in:
Taylor Hedberg
2011-08-25 12:36:15 -04:00
parent 39b8298390
commit 5263e25548

View File

@@ -237,7 +237,9 @@ function! s:DelimitMateDo(...) "{{{
call s:init()
" Now, add magic:
call s:Map()
if !exists("g:delimitMate_offByDefault") || !g:delimitMate_offByDefault
call s:Map()
endif
if a:0 > 0
echo "delimitMate has been reset."