view runtime/syntax/svg.vim @ 20417:86333cdb8cf8 v8.2.0763

patch 8.2.0763: GUI test fails without the terminal feature Commit: https://github.com/vim/vim/commit/4457e1d98f78152311495b1aff6169383d330a75 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 15 22:46:44 2020 +0200 patch 8.2.0763: GUI test fails without the terminal feature Problem: GUI test fails without the terminal feature. Solution: Check the terminal feature is supported. (Ken Takata, closes #6084)
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 May 2020 23:00: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"