hi guys I need some help, I'm tweaking a completion plugin and I don't know
whether the behavior I'm seeing is from Vim or from the plugin. Let's say I
have the cursor at

foo(|)

and I type bar which give the options

bar()
barvar

When I select bar() from the menu with <C-n>, what I end up with is

foo(bar(|)

this is annoying, I'm missing the last parenthesis. If the completion is outside
the function call I don't miss any parenthesis, bar() is entered and my cursor
is at bar()|, inside foo I end with foo(bar(|) as if bar missed a last
parenthesis when there's an already closing parenthesis in the loc the text is
entered anyone have an idea about this?

Does Vim do that trying to be smart? because it doesn't seem a behavior of the 
plugin

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui