Closed jbelmont closed 11 years ago
Could you give a more precise description of the issue? a step by step recipe would help me reproduce the problem in my end.
This is depending on the let delimitMate_expand_space=1 in your .vimrc.
What jbelmont does is this:
(in a .cpp or .php file):
i"<space>
The display now shows
" | "
(| is the cursor position)
Entering a " now will display
" "|" "
(again | is the cursor position)
Perhaps the plugin should check that, when expand_space is turned on, that the character following the cursor is a space followed by the closing character just typed, and in that case, skip the space and the closing char to get the 'expected' behaviour.
What's the expected behaviour? jump over the space and quote? like this " | "
=> " "|
?
Perhaps not expected, but probably wished for.
OK, good. I wasn't sure I got what he meant.
Hello for some strange reason when I type double quotes in c++, php, etc delimitMate doesn't like when I put space in between quotes, if I put space it will insert an extra space and when I try to close the quote it will insert two more double quotes.