altsem / gitu

A TUI Git client inspired by Magit
MIT License
1.7k stars 88 forks source link

wip: add syntax highlighting with tree-sitter #104

Closed altsem closed 3 months ago

altsem commented 4 months ago

Update: This kinda works now. Some pieces remaining:

before: image after: image

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 78.39080% with 94 lines in your changes are missing coverage. Please review.

Project coverage is 86.17%. Comparing base (7a5476b) to head (0cf3c73).

Files Patch % Lines
src/syntax_highlight.rs 53.43% 88 Missing :warning:
src/git/diff.rs 97.30% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #104 +/- ## ========================================== - Coverage 87.22% 86.17% -1.06% ========================================== Files 53 54 +1 Lines 3844 4231 +387 ========================================== + Hits 3353 3646 +293 - Misses 491 585 +94 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.