diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-25 16:58:46 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-25 16:58:46 +0200 |
commit | 7fd7320014fb34788ef53fe7c78521b5c25e052e (patch) | |
tree | 8249c7e405578cde42c319b9c216bd868809682c /runtime/ftplugin | |
parent | fa0ff9aedf9515638e15726141c4a08ca4e05255 (diff) | |
download | vim-git-7fd7320014fb34788ef53fe7c78521b5c25e052e.tar.gz |
Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/quickfix.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/ftplugin/quickfix.vim b/runtime/ftplugin/quickfix.vim new file mode 100644 index 000000000..f1d09225f --- /dev/null +++ b/runtime/ftplugin/quickfix.vim @@ -0,0 +1,16 @@ +" 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\ :\ ''} |