Igor Prischepoff wrote:
> Suresh, what if I don't want to put '.' in 'iskeyword' option? (I doubt
> that vim actually takes that option in consideration when stopping
> completion)
> So I want completion window when typing '.' BUT when moving with 'w' command
> I want cursor move to 'table' and 'field' words.
> or 'object' and 'method' in
> 'object.method' text.
> If I set isk+=.
> I loose moving to methods and fields functionality with w command, searching
> with '*' command also suffers from that.
> I still think 'chars_that_stop_completion_option' would be useful option.
> But it's up to Bram to decide what is best for vim.
There are different kind of completions, so one option is not going to
cover it. You would have to separately define stop characters for
normal word completion, line completion, omni completion, file
completion,... You get the idea.
To be able to complete something containing a dot, you must have told
Vim somehow to include it in the completed word. So Vim should already
know about it. Although for Omni completion it's context sensitive,
thus it doesn't work well there. But it should be OK for most others.
--
Your company is doomed if your primary product is overhead transparencies.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---