hirosystems / ordhook

Build indexers, standards and protocols on top of Ordinals and Inscriptions (BRC20, etc).
Apache License 2.0
190 stars 56 forks source link

fix: highlighting escaped characters #113

Closed LNow closed 2 years ago

LNow commented 2 years ago

This PR fixes broken highlighting for escaped characters in strings.

Before: image

After: image

Discovered while working on:

codecov-commenter commented 2 years ago

Codecov Report

Merging #113 (9f0c911) into main (7c0f5bb) will not change coverage. The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #113   +/-   ##
=====================================
  Coverage   0.09%   0.09%           
=====================================
  Files          6       6           
  Lines       1010    1010           
=====================================
  Hits           1       1           
  Misses      1009    1009           
Flag Coverage Δ
unittests 0.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7c0f5bb...9f0c911. Read the comment docs.

hugocaillard commented 2 years ago

Thanks for the PR @LNow, I think it should be done on the develop branch since the architecture of this repo has changed quite a lot. The file has been moved from "./editors/code/syntaxes/" to ""./syntaxes/"

lgalabru commented 2 years ago

@hugocaillard to take over!

LNow commented 2 years ago

Replaced with #114