Mercurial > vim
view 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 |
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"