Fix '<CR><BS>. Closes #178.

This commit is contained in:
Israel Chauca Fuentes
2014-11-27 01:48:34 -05:00
parent 12c7d85ff6
commit c678061b79
2 changed files with 5 additions and 0 deletions

View File

@@ -186,6 +186,10 @@ function! delimitMate#IsSpaceExpansion() " {{{
endfunction " }}} IsSpaceExpansion()
function! delimitMate#WithinEmptyPair() "{{{
" if cursor is at column 1 return 0
if col('.') == 1
return 0
endif
" get char before the cursor.
let char1 = delimitMate#GetCharFromCursor(-1)
" get char under the cursor.