typescript.el icon indicating copy to clipboard operation
typescript.el copied to clipboard

feat(fontlock): fontify ${} expressions inside backticks

Open Fuco1 opened this issue 2 years ago • 2 comments

Addresses #48 until better parser support is implemented.

This is an 80/20 approach so complex expressions inside the ${} are fontified as if a simple variable token. It probably can be improved in further iterations.

image

image

Fuco1 avatar Aug 08 '22 12:08 Fuco1

This PR now has some slight conflicts with git master. Can you resolve those? 🙂

josteink avatar Aug 15 '22 19:08 josteink

Oh yea it's the test cases! Always a PITA. I'll fix it tomorrow.

Fuco1 avatar Aug 15 '22 22:08 Fuco1

My god I didn't even realize it took me two years to resolve the merge conflicts :D I was just updating my local typescript.el version and rebased this branch since it was what I was using.

Thanks for merging it!

Fuco1 avatar Jun 03 '24 09:06 Fuco1