Fix flushing of char buffer.

This commit is contained in:
Israel Chauca Fuentes
2012-02-09 21:28:53 -05:00
parent 9f003b5bf5
commit 9d133d5b69
2 changed files with 13 additions and 10 deletions

View File

@@ -260,14 +260,14 @@ function! s:DelimitMateSwitch() "{{{
endfunction "}}}
function! s:Finish() " {{{
if exists('g:delimitMate_loaded')
if exists('b:delimitMate_enabled')
return delimitMate#Finish(1)
endif
return ''
endfunction " }}}
function! s:FlushBuffer() " {{{
if exists('g:delimitMate_loaded')
if exists('b:delimitMate_enabled')
return delimitMate#FlushBuffer()
endif
return ''