Hi there,

I'm having an issue with a syntax plugin 
(https://github.com/pangloss/vim-javascript) running 'setlocal iskeyword+=$' 
when I edit a PHP file. It doesn't happen when I open any other file type 
(eg. .vimrc).

I was wondering if it was to do with my .vimrc or conflicting plugins so I 
created a fresh .vimrc file and .vim directory and installed the plugin and 
added the following to my .vimrc:

https://gist.github.com/1295121

It still seems to run setlocal from the syntax/javascript.vim.

As a test, I did: :set ft=php within my .vimrc and it applied setlocal 
iskeyword+=$ as well

I can't see any reason why a javascript syntax file would be loaded for PHP 
files.

Does anyone have any clues? Have I done something wrong or is it something 
that the plugin has done?

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

Reply via email to