annotate runtime/ftplugin/qf.vim @ 35200:7f5de3ce54c8 default tip

runtime(doc): clarify temporary file clean up Commit: https://github.com/vim/vim/commit/5cf5301e2847c5a1a380ae030c58825b5c6fe275 Author: Christian Brabandt <cb@256bit.org> Date: Sat May 18 10:13:11 2024 +0200 runtime(doc): clarify temporary file clean up related: https://github.com/vim/vim/issues/14770 Co-authored-by: Enno <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 18 May 2024 10:30:03 +0200
parents ca8e754bdd53
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2411
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Language: Vim's quickfix window
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Maintainer: Lech Lorens <Lech.Lorens@gmail.com>
17433
ca8e754bdd53 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3507
diff changeset
4 " Last Change: 2019 Jul 15
2411
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 if exists("b:did_ftplugin")
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 finish
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 endif
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 " Don't load another plugin for this buffer
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 let b:did_ftplugin = 1
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12
17433
ca8e754bdd53 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3507
diff changeset
13 if !get(g:, 'qf_disable_statusline')
ca8e754bdd53 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3507
diff changeset
14 let b:undo_ftplugin = "set stl<"
2411
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15
17433
ca8e754bdd53 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3507
diff changeset
16 " Display the command that produced the list in the quickfix window:
ca8e754bdd53 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3507
diff changeset
17 setlocal stl=%t%{exists('w:quickfix_title')?\ '\ '.w:quickfix_title\ :\ ''}\ %=%-15(%l,%c%V%)\ %P
ca8e754bdd53 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3507
diff changeset
18 endif