Mercurial > vim
view runtime/syntax/svg.vim @ 22105:bae2a3fa141f v8.2.1602
patch 8.2.1602: Vim9: cannot use 'true" with getbufinfo()
Commit: https://github.com/vim/vim/commit/036c2cf719e3de445779a275514030be66e26883
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 5 17:37:07 2020 +0200
patch 8.2.1602: Vim9: cannot use 'true" with getbufinfo()
Problem: Vim9: cannot use 'true" with getbufinfo().
Solution: Use dict_get_bool(). (closes https://github.com/vim/vim/issues/6873)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Sep 2020 17:45:04 +0200 |
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"