Hi, On Wed, May 24, 2017 at 7:00 AM, Marius Gedminas <[email protected]> wrote: ? > I'm on vim 8.0.597. I've recently noticed that sometimes when I open a > file from the quickfix list I get it without syntax highlighting. The > &filetype is blank, and :verbose set filetype? doesn't show it being set > by any script. Re-opening the file with :e triggers filetype detection > to run correctly. >
Are you populating the quickfix list using the "vimgrep" command? When the vimgrep command loads a file, it disables the FileType autocmd thereby avoids loading the syntax and indent scripts. But when you load a file from the quickfix list, I would expect that the FileType autocmd will trigger and the syntax/indent scripts will be sourced. Regards, Yegappan > > I haven't been able to figure out how to reproduce the issue. > > Has anyone else noticed this? > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
