annotate runtime/syntax/svg.vim @ 17302:e0d727872758
v8.1.1650
patch 8.1.1650: warning for using uninitialized variable
commit https://github.com/vim/vim/commit/ee9e604124682b0cd89e4f987a2f6f3fe4160920
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 8 20:08:44 2019 +0200
patch 8.1.1650: warning for using uninitialized variable
Problem: Warning for using uninitialized variable. (Tony Mechelynck)
Solution: Simplify the code by always using the mouse coordinates.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 08 Jul 2019 20:15: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"
|