annotate runtime/syntax/svg.vim @ 7301:514f51fa1966
v7.4.956
commit https://github.com/vim/vim/commit/f882d9f89dbe24ab1ba4bc88529bef28242fd2ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 3 20:18:24 2015 +0100
patch 7.4.956
Problem: A few more file name extensions not recognized.
Solution: Add .asciidoc, .bzl, .gradle, etc.
author |
Christian Brabandt <cb@256bit.org> |
date |
Thu, 03 Dec 2015 20:30:04 +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"
|