svg.vim   [plain text]

" Vim syntax file
" Language:	SVG (Scalable Vector Graphics)
" Maintainer:	Vincent Berthoux <>
" File Types:	.svg (used in Web and vector programs)
" Directly call the xml syntax, because SVG is an XML
" dialect. But as some plugins base their effect on filetype,
" providing a distinct filetype from xml is better.

if exists("b:current_syntax")

runtime! syntax/xml.vim
let b:current_syntax = "svg"