Mercurial > vim
comparison runtime/ftplugin/quickfix.vim @ 2411:68e394361ca3 vim73
Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 25 Jul 2010 16:58:46 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2410:8f6106dd3d12 | 2411:68e394361ca3 |
---|---|
1 " Vim filetype plugin file | |
2 " Language: Vim's quickfix window | |
3 " Maintainer: Lech Lorens <Lech.Lorens@gmail.com> | |
4 " Last Changed: 22 Jul 2010 | |
5 | |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 | |
10 " Don't load another plugin for this buffer | |
11 let b:did_ftplugin = 1 | |
12 | |
13 let b:undo_ftplugin = "setl stl<" | |
14 | |
15 " Display the command that produced the list in the quickfix window: | |
16 setlocal stl=%q%{exists('w:quickfix_title')?\ '\ '.w:quickfix_title\ :\ ''} |