mirror of
https://github.com/neovim/neovim
synced 2025-07-16 17:21:49 +00:00
quickfix.c: Fix vimgrep regression #11907
Fix ex_vimgrep to properly ignore filetype when running vimgrep. This restores vimgrep to behaviour before function refactoring. fix #9842 fix #11856
This commit is contained in:
@ -4022,10 +4022,10 @@ static void vgr_display_fname(char_u *fname)
|
||||
static buf_T *vgr_load_dummy_buf(char_u *fname, char_u *dirname_start,
|
||||
char_u *dirname_now)
|
||||
{
|
||||
char_u *save_ei = NULL;
|
||||
|
||||
// Don't do Filetype autocommands to avoid loading syntax and
|
||||
// indent scripts, a great speed improvement.
|
||||
char_u *save_ei = au_event_disable(",Filetype");
|
||||
|
||||
long save_mls = p_mls;
|
||||
p_mls = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user