On 2008-11-18, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi! I'm interesting which pattern is using when i want to complete
> keyword from buffer or dict file(s).
> and how i can change this in source code (im browsing edit.c and etc
> but didnt find any patterns for this :( )
> i want to do it because i need to complete keywords where are chars
> like ":-_", but by default this characters skipped.

Is this what you need?

   :help iskeyword

The default setting already includes '_'.  You could add ':' and '-' 
like this:

   :set iskeyword+=:
   :set iskeyword+=-

Regards,
Gary


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui