Mercurial > vim
view runtime/syntax/svg.vim @ 13670:3085d67d24c8 v8.0.1707
patch 8.0.1707: when 'wfh' is set ":bel 10new" scrolls window
commit https://github.com/vim/vim/commit/98da6ecab905df48a67da36ce60233f45726c979
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 13 22:15:46 2018 +0200
patch 8.0.1707: when 'wfh' is set ":bel 10new" scrolls window
Problem: When 'wfh' is set ":bel 10new" scrolls window. (Andrew Pyatkov)
Solution: Set the fraction before changing the window height. (closes https://github.com/vim/vim/issues/2798)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 13 Apr 2018 22:30:08 +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"