I am trying to use a plugin called vim-coldfusion 
(https://github.com/ernstvanderlinden/vim-coldfusion 
<https://github.com/ernstvanderlinden/vim-coldfusion>), which provides an 
alternative syntax file to the vim default.

I am using Vim 8’s builtin packages to load it.

Whenever I load it via Vim’s package system, it is read after the default cf 
syntax file (I got this information by looking at :scriptnames), but if I copy 
the syntax file to ~/.vim/syntax, it is read before the default syntax file. 
The plugin aborts if b:current_syntax is set, and it is set by the default cf 
syntax file. Thus, the plugin syntax file is never applied.

How can I resolve this? Are syntax files under pack/ always read after the 
default syntax files?

Ideally, I’d like to keep this plugin in pack/*/opt/ and load it only for cf 
files.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to