github rhysd/hgrep v0.1.8

latest releases: v0.3.7, v0.3.6, v0.3.5...
2 years ago
  • syntect-printer supports text-wrapping. Longer lines than terminal width are now wrapped by default. It can handle wide characters including special emojis with zero-width joiner (U+200D) like 👨‍👩‍👧‍👦
    screenshot
  • syntect-printer highlights matched regions in matched lines with a searched text color. Since match positions in matched lines are not included in output from grep -nH, currently this is only supported by combination of syntect-printer feature and ripgrep feature
  • syntect-printer now uses light dashed lines for the separator of snippets: ╶╶╶╶╶╶╶╶╶╶╶╶
  • Add --wrap MODE option where MODE is one of char or never (the default value is char). More modes may be implemented in the future
  • In favor of --wrap option, --no-wrap flag is now deprecated and will be removed at v0.2.0. Use --wrap never instead
  • When building binaries for Windows, link C runtime statically. This avoid depending on vcruntime DLL at runtime
  • Critical section of syntect-printer was optimized. It slightly improved performance (around 4% faster in benchmarks)
  • Enable thin LTO for release build. It slightly improved performance (0~6% faster in benchmarks). See the commit for details

Don't miss a new hgrep release

NewReleases is sending notifications on new releases.