0
0
mirror of https://github.com/vim/vim.git synced 2025-10-20 08:14:18 -04:00

patch 9.1.1396: 'errorformat' is a global option

Problem:  The 'grepformat' option is global option, but it would be
          useful to have it buffer-local, similar to 'errorformat' and
          other quickfix related options (Dani Dickstein)
Solution: Add the necessary code to support global-local 'grepformat',
          allowing different buffers to parse different grep output
          formats (glepnir)

fixes: #17316
closes: #17315

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
glepnir
2025-05-16 19:49:23 +02:00
committed by Christian Brabandt
parent 670d0c1468
commit 7b9eb6389d
11 changed files with 46 additions and 11 deletions

View File

@@ -3371,6 +3371,7 @@ struct file_buffer
* local values for options which are normally global
*/
#ifdef FEAT_QUICKFIX
char_u *b_p_gefm; // 'grepformat' local value
char_u *b_p_gp; // 'grepprg' local value
char_u *b_p_mp; // 'makeprg' local value
char_u *b_p_efm; // 'errorformat' local value