mooc/www/sys/fs/usr/share/vim/vim74/syntax/svg.vim

16 lines
436 B
VimL
Raw Normal View History

2023-01-31 08:47:50 +04:00
" Vim syntax file
" Language: SVG (Scalable Vector Graphics)
" Maintainer: Vincent Berthoux <twinside@gmail.com>
" 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")
finish
endif
runtime! syntax/xml.vim
let b:current_syntax = "svg"