summaryrefslogtreecommitdiff
path: root/runtime/ftplugin/qf.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-04 12:05:40 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-04 12:05:40 +0200
commita68cac57de180593f37a71b9a2903bdb9d099800 (patch)
tree630d6714c5e519de51b1af89441c65390881a809 /runtime/ftplugin/qf.vim
parent5aae419afe8f6b20de0c34fc5ebc7a04ed8a68ce (diff)
downloadvim-git-a68cac57de180593f37a71b9a2903bdb9d099800.tar.gz
Rename quickfix plugin to match the filetype set in the code.
Diffstat (limited to 'runtime/ftplugin/qf.vim')
-rw-r--r--runtime/ftplugin/qf.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/ftplugin/qf.vim b/runtime/ftplugin/qf.vim
new file mode 100644
index 000000000..f1d09225f
--- /dev/null
+++ b/runtime/ftplugin/qf.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\ :\ ''}