mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 15:21:20 +00:00
vim-patch:9.1.1396: 'grepformat' is a global option (#34060)
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: vim/vim#17316
closes: vim/vim#17315
7b9eb6389d
Co-authored-by: glepnir <glephunter@gmail.com>
This commit is contained in:
@@ -2098,6 +2098,7 @@ void free_buf_options(buf_T *buf, bool free_p_ff)
|
||||
callback_free(&buf->b_ofu_cb);
|
||||
clear_string_option(&buf->b_p_tsrfu);
|
||||
callback_free(&buf->b_tsrfu_cb);
|
||||
clear_string_option(&buf->b_p_gefm);
|
||||
clear_string_option(&buf->b_p_gp);
|
||||
clear_string_option(&buf->b_p_mp);
|
||||
clear_string_option(&buf->b_p_efm);
|
||||
|
||||
Reference in New Issue
Block a user