mirror of
https://github.com/neovim/neovim.git
synced 2026-05-03 20:45:02 +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:
2
runtime/lua/vim/_meta/options.lua
generated
2
runtime/lua/vim/_meta/options.lua
generated
@@ -2822,6 +2822,8 @@ vim.go.gd = vim.go.gdefault
|
||||
--- @type string
|
||||
vim.o.grepformat = "%f:%l:%m,%f:%l%m,%f %l%m"
|
||||
vim.o.gfm = vim.o.grepformat
|
||||
vim.bo.grepformat = vim.o.grepformat
|
||||
vim.bo.gfm = vim.bo.grepformat
|
||||
vim.go.grepformat = vim.o.grepformat
|
||||
vim.go.gfm = vim.go.grepformat
|
||||
|
||||
|
||||
Reference in New Issue
Block a user