annotate runtime/syntax/svg.vim @ 21204:3c91581cef33
v8.2.1153
patch 8.2.1153: Vim9: script test fails on some systems
Commit: https://github.com/vim/vim/commit/bed36b939a4c66f41d1f24e32cfa521b10f22b82
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 7 23:31:36 2020 +0200
patch 8.2.1153: Vim9: script test fails on some systems
Problem: Vim9: script test fails on some systems.
Solution: Return proper value from Compare().
author |
Bram Moolenaar <Bram@vim.org> |
date |
Tue, 07 Jul 2020 23:45:05 +0200 |
parents |
b9e314fe473f |
children |
|
rev |
line source |
2152
|
1 " Vim syntax file
|
|
2 " Language: SVG (Scalable Vector Graphics)
|
|
3 " Maintainer: Vincent Berthoux <twinside@gmail.com>
|
|
4 " File Types: .svg (used in Web and vector programs)
|
|
5 "
|
|
6 " Directly call the xml syntax, because SVG is an XML
|
|
7 " dialect. But as some plugins base their effect on filetype,
|
|
8 " providing a distinct filetype from xml is better.
|
|
9
|
|
10 if exists("b:current_syntax")
|
|
11 finish
|
|
12 endif
|
|
13
|
|
14 runtime! syntax/xml.vim
|
|
15 let b:current_syntax = "svg"
|