Amadeus Demarzi wrote:

> This patch fixes javascript.vim and css.vim from clobbering plugin syntaxes 
> when sourced via html.vim.
> 
> Would it be possible to get this in for 7.4?
> 
> More details here: 
> https://groups.google.com/forum/#!topic/vim_dev/4Idz6Em2ZuU
> 
> It's a long explanation, so this would be the TL;DR for it

Makes sense.  It can be reduced to one elseif:

elseif exists("b:current_syntax") && b:current_syntax == 'css'
  finish
endif


-- 
"How is your new girlfriend?"
"90-60-90 man!"
"What, pale purple?"

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui