sponsor Vim development Vim logo Vim Book Ad

svg.vim : SVG syntax file

 script karma  Rating 43/23, Downloaded by 3720  Comments, bugs, improvements  Vim wiki

created by
Michał Górny
 
script type
syntax
 
description
File for Scalable Vector Graphics syntax highlighting

This script highlights SVG 1.0 and 1.1 syntax as described at http://www.w3.org/TR/SVG/
SVG is an XML application, so svg.vim needs XML syntax file to work properly.
 
install details
Put svg.vim in your syntax directory
and add the following line to your filetype.vim file:

au BufNewFile,BufRead *.svg setf svg
 

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
svg.vim 1.2 2006-03-23 6.0 Michał Górny Added xml-stylesheet processing instruction attributes
svg.vim 1.1.3 2005-06-22 6.0 Michał Górny svgEvent and svgEventAttr can be in xhtmlAttribHook cluster now
svg.vim 1.1.2 2005-06-07 6.0 Michał Górny Fixed XML declaration attribs highlighting
svg.vim 1.1.1 2005-04-11 6.0 Michał Górny Compatibility changes
svg.vim 1.1 2005-03-10 6.0 Michał Górny Added highlighting for embedded ECMAScript (also in events), rendering for title and desc elements
svg.vim 1.0 2004-03-12 6.0 Michał Górny Initial upload
ip used for rating: 3.139.70.131

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