view runtime/ftplugin/qf.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 d8d8e0306a08
children b6471224d2af
line wrap: on
line source

" Vim filetype plugin file
" Language:     Vim's quickfix window
" Maintainer:   Lech Lorens <Lech.Lorens@gmail.com>
" Last Changed: 22 Jul 2010

if exists("b:did_ftplugin")
  finish
endif

" Don't load another plugin for this buffer
let b:did_ftplugin = 1

let b:undo_ftplugin = "setl stl<"

" Display the command that produced the list in the quickfix window:
setlocal stl=%q%{exists('w:quickfix_title')?\ '\ '.w:quickfix_title\ :\ ''}