Mercurial > vim
view runtime/syntax/svg.vim @ 4916:ba328b4a990e v7.3.1203
updated for version 7.3.1203
Problem: Matches from matchadd() might be highlighted incorrectly when they
are at a fixed position and inserting lines. (John Szakmeister)
Solution: Redraw all lines below a change if there are highlighted matches.
(idea by Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 15 Jun 2013 23:00:30 +0200 |
parents | b9e314fe473f |
children |
line wrap: on
line source
" 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"