annotate runtime/syntax/svg.vim @ 31616:0eb51cec2154
v9.0.1140
patch 9.0.1140: cannot call an object method in a compiled function
Commit: https://github.com/vim/vim/commit/574950dfb1d353f094463b709e39544ebf8fcdcd
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 3 19:08:50 2023 +0000
patch 9.0.1140: cannot call an object method in a compiled function
Problem: Cannot call an object method in a compiled function.
Solution: Compile the instructins to invoke an object method.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Tue, 03 Jan 2023 20:15:03 +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"
|