Tuesday, June 17, 2014

changing iskeyword by filetype

my php iskeyword setting is, once more, messed up by a third party syntax plugin I'm testing. to recap the previous episodes:

vim's standard php plugin loads css/js/html syntax files for embedded code. everything's fine if these extra files do not change iskeyword, but when they do (and third party plugins seem to do so) it's a mess.

From my past experience on the subject, I remember that changing iskeyword in the syntax file is wrong for this very reason. Since I'd like to submit a patch to this plugin's author, I'd like to understand what's the correct place to configure iskeyword for a certain filetype without messing things when the syntax file is imported by another filetype plugin. is it ftdetect/*.vim ? or somewhere else?

thanks in advance

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment