On 2013-02-06, Sung Pae wrote:

> However, I can see now that setting 'iskeyword' in the syntax file
> instead of the ftplugin is problematic because the setting becomes local
> to the buffer and not to the filetype, which will cause confusion if a
> user changes filetypes for a buffer.

There is no "local to filetype".  Filetype plugins make settings
that are local to the buffer.

When a user changes filetypes for a buffer, Vim and the filetype
plugins take care of setting or resetting filetype-dependent
buffer-local options appropriately.

Regards,
Gary

-- 
-- 
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/groups/opt_out.


Raspunde prin e-mail lui