[bug]: make install is terribly slow to type when building wine
Describe the bug
The wine project has generated a 239294-line Makefile. When I try to type make install, the install part never appears and zsh is stuck with about 50% CPU. Ctrl-C can't interrupt it.
Steps to reproduce
- get the source of wine
- run ./configure & make
- try to type
make install
Expected behavior
Well, I know that file is pretty big! But at least I should be able to interrupt fast-syntax-highlighting and continue with it.
Screenshots and recordings
No response
Operating System & Version
linux-gnu | pc | x86_64 | x86_64 | x86_64 unknown
Zsh version
zsh 5.9 (x86_64-pc-linux-gnu)
Terminal emulator
tmux-256color
If using WSL on Windows, which version of WSL
None
Additional context
No response
same issue, it takes forever for big makefiles or makefile based build systems
Could some sort of timeout be implemented so that if higlighting takes longer than x ms it is discarded? This would force highlights to either be fast or discarded. Id much rather have worse highlights than an unresponsive shell.