annotate runtime/syntax/svg.vim @ 15458:0f8065d7d68c
v8.1.0737
patch 8.1.0737: compiler warning for uninitialized variable
commit https://github.com/vim/vim/commit/e519dfd7139d504ada44031a986482ac4fb1229a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 13 15:42:02 2019 +0100
patch 8.1.0737: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable.
Solution: Add initialization. (John Marriott)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 13 Jan 2019 15:45:07 +0100 |
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"
|