On 09/02/09 08:34, naquad wrote:
> Hello.
>
> I've took default complete (c-x c-n) and wrote for it a wrapper which
> triggers on specific conditions
> (pretty stupid: simply adding ,k<path> to &l:complete) and stuck on the
> problem with ruby's methods
> names: they can have ? or ! on the end, but complete doesn't add them :(
> how do I make it see those ? and ! signs?
>
> Regards, Daniel Fort.
You might try adding
:setlocal isk+=!?
if it doesn't play havoc with other behaviour. Place that line in
~/.vim/after/ftplugin/ruby.vim (for Unix/Linux) or
~/vimfiles/after/ftplugin/ruby.vim (for Windows) and create the file
and/or its directories if they don't yet exist.
Best regards,
Tony.
--
"I used to get high on life but lately I've built up a resistance."
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---