summaryrefslogtreecommitdiffstats
path: root/ftplugin/qf.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/qf.vim')
-rw-r--r--ftplugin/qf.vim20
1 files changed, 20 insertions, 0 deletions
diff --git a/ftplugin/qf.vim b/ftplugin/qf.vim
new file mode 100644
index 00000000..724eb5da
--- /dev/null
+++ b/ftplugin/qf.vim
@@ -0,0 +1,20 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
+
+" Vim filetype plugin file
+" Language: Vim's quickfix window
+" Maintainer: Lech Lorens <Lech.Lorens@gmail.com>
+" Last Changed: 30 Apr 2012
+
+if exists("b:did_ftplugin")
+ finish
+endif
+
+" Don't load another plugin for this buffer
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = "set stl<"
+
+" Display the command that produced the list in the quickfix window:
+setlocal stl=%t%{exists('w:quickfix_title')?\ '\ '.w:quickfix_title\ :\ ''}\ %=%-15(%l,%c%V%)\ %P
+
+endif