sponsor Vim development Vim logo Vim Book Ad

JavaScript syntax (add E4X support) : Fix highlighting on E4X (CDATA) blocks

 script karma  Rating 0/0, Downloaded by 780  Comments, bugs, improvements  Vim wiki

created by
Adam Katz
 
script type
syntax
 
description
Supplementary syntax file for JavaScript.

Adds support for properly highlighting E4X (ECMAscript4XML) blocks, which is a CDATA chunk of raw text inside ECMAscript/JavaScript code.  See http://en.wikipedia.org/wiki/ECMAScript_for_XML or http://userscripts.org/guides/4
 
install details
Save this file to ~/.vim/after/syntax/javascript.vim and you're good to go.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
javascript.vim 0.1 2009-10-07 5.7 Adam Katz Initial upload
ip used for rating: 3.238.161.165

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github