Start Insertion in Append Mode When no Right Delim (#234)

This commit is contained in:
Alexander Alzate 2016-05-26 00:24:47 -05:00 committed by Caleb Maclennan
parent c3afedbe22
commit 4760e57514

View File

@ -612,8 +612,10 @@ function s:AppendCommentToLine()
if lenRight > 0
let leftMoveAmount = lenRight - 1
execute ":normal! " . leftMoveAmount . "h"
endif
startinsert
else
startinsert!
endif
endfunction
" Function: s:CommentBlock(top, bottom, lSide, rSide, forceNested ) {{{2