view runtime/syntax/svg.vim @ 20211:3a94b984c9f9 v8.2.0661

patch 8.2.0661: eval test is still old style Commit: https://github.com/vim/vim/commit/339d60c89bef0315343a6128a1b4826510b0efe4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 29 22:01:21 2020 +0200 patch 8.2.0661: eval test is still old style Problem: Eval test is still old style. Solution: Change into new style tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6009)
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 Apr 2020 22:15:04 +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"