Syntax for XUL : Highlighting for XML User interface Language.
script karma |
Rating 92/28,
Downloaded by 1687 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Miguel Rodriguez |
|
script type |
syntax |
|
description |
Syntax highlighting for the XML User interface Language (XUL) a.k.a. eXtensible User interface Language. Based on Nicolai Nespor's xul.vim v0.5. Follows XUL's reference at http://developer.mozilla.org/en/docs/XUL_Reference.
Also available at http://bioinf.ibun.unal.edu.co/~miguel/?id=5 |
|
install details |
Just place file into syntax folder. To tell vim detect *.xul files automatically, just put the following line into filetype.vim (into the vim configuration dir) before the XML line:
au BufNewFile,BufRead *.xul setf xul
If you want to disable the attributes syntax, put let nohl_xul_atts = 1 in your ./[g]vim.
<script/> is not the better way, it's better <script></script>; but, if you want <script/> form support, just place into your ./[g]vim file: let xul_noclose_script = 1. If you do so, it's possible to damage the <script></script> performance, in the case you use any "/" char into the <script>, for example: <script type="application/x-javascript">. It's up to you. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.239.76.211
|