view runtime/syntax/svg.vim @ 17510:a5427e35d0fb v8.1.1753

patch 8.1.1753: use of popup window mask is inefficient commit https://github.com/vim/vim/commit/e865dcbce1ea2fcdc172b7d47d320cd40f91b917 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 26 22:15:50 2019 +0200 patch 8.1.1753: use of popup window mask is inefficient Problem: Use of popup window mask is inefficient. Solution: Precompute and cache the mask.
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Jul 2019 22:30:07 +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"