Mercurial > vim
view runtime/ftplugin/mf.vim @ 2665:18061514324f v7.3.084
updated for version 7.3.084
Problem: When splitting the window, the new one scrolls with the cursor at
the top.
Solution: Compute w_fraction before setting the new height.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 17 Dec 2010 17:35:10 +0100 |
parents | f4f8014d516e |
children | 876fbdd84e52 |
line wrap: on
line source
" Vim filetype plugin file " Language: MetaFont " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save