view runtime/syntax/svg.vim @ 23754:c425989fe7ac v8.2.2418

patch 8.2.2418: color not changed if ModeMsg highlight is set in InsertEnter Commit: https://github.com/vim/vim/commit/2e6cdb91e8dea08301f31bc83188c06112eb7f57 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 28 11:07:44 2021 +0100 patch 8.2.2418: color not changed if ModeMsg highlight is set in InsertEnter Problem: Color not changed if ModeMsg highlight is set in InsertEnter autocmd event. (Paul Swanson) Solution: Call highlight_changed() after triggering InsertEnter. (closes #7751)
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Jan 2021 11:15:04 +0100
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"