Andy Wokula wrote:

> When searching for completions for the current word (with i_CTRL-N) in
> the available buffers, the 'isk' setting of the current buffer should be
> used also in the other buffers (only for the purpose of searching of
> course).
> 
> Example:
> 
> --- somefile.vim (with  :setl isk+=: ) ---
> :let s:variable = 1
> 
> --- currentfile.txt (with :setl isk-=: ) ---
> The purpose of s:var<C-N>
> 
> will not find the desired completion "variable", because "var" isn't
> the beginning of a word in the other buffer somefile.vim .

The 'iskeyword' option is used for too many things.  There are a few
remarks in the todo list about it, but no specific plans.  Completion
probably needs a separate option to specify the characters (or pattern)
to complete with.

-- 
>From "know your smileys":
 y:-)   Bad toupee

 /// 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
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui