- Update
syntect
dependency to v5.0.0. Thanks to lazy loading, this change makes loading assets at startup about 70% faster. The small benchmark showedhgrep
command was 1.7x faster when searching a small file with-p syntect
compared to v0.2.8. - Update
bat
dependency from 0.20 to 0.22. This introduces several improvements and fixes which were recently added to bat when using-p bat
. - Add
--generate-man-page
flag to generate a manual page file. Save the output to yourman
directory to show the help withman
command. If you install hgrep with Homebrew, it will be automatically generated.hgrep --generate-man-page > /usr/local/share/man/man1/hgrep.1 man hgrep
- Add several syntax highlighting for configuration files (Git configs, Fish history, SSH config, Nginx config, ...).
- Wrap the
--help
output looking at the terminal width. The output is more compact than v0.2.8. - Improve error handling when failing to enable ANSI color sequence support on Windows.