diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-02 07:10:36 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-02 16:20:22 +0200 |
| commit | 7c19a4e51881294adc8d174c5be7f546a052c989 (patch) | |
| tree | d0eba7321b67dae316054340a6696cf1800686c7 /runtime/ftplugin | |
| parent | 1e4e890a764dfef1db7046ff24d43241c4054925 (diff) | |
| download | rneovim-7c19a4e51881294adc8d174c5be7f546a052c989.tar.gz rneovim-7c19a4e51881294adc8d174c5be7f546a052c989.tar.bz2 rneovim-7c19a4e51881294adc8d174c5be7f546a052c989.zip | |
vim-patch:85850f3a5ef9
Update runtime files
https://github.com/vim/vim/commit/85850f3a5ef9f5a9d22e908ef263de8faa265a95
Diffstat (limited to 'runtime/ftplugin')
| -rw-r--r-- | runtime/ftplugin/qf.vim | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/ftplugin/qf.vim b/runtime/ftplugin/qf.vim index 80e86c4d16..a3dfce0e76 100644 --- a/runtime/ftplugin/qf.vim +++ b/runtime/ftplugin/qf.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: Vim's quickfix window " Maintainer: Lech Lorens <Lech.Lorens@gmail.com> -" Last Changed: 30 Apr 2012 +" Last Change: 2019 Jul 15 if exists("b:did_ftplugin") finish @@ -10,10 +10,12 @@ endif " Don't load another plugin for this buffer let b:did_ftplugin = 1 -let b:undo_ftplugin = "set stl<" +if !get(g:, 'qf_disable_statusline') + 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 + " 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 function! s:setup_toc() abort if get(w:, 'quickfix_title') !~# '\<TOC$' || &syntax != 'qf' |