crystal-lang-tools / zed-crystal

16 stars 2 forks source link

Highlighting gets confused by macros #2

Open Qard opened 1 week ago

Qard commented 1 week ago

The highlighter seems to not recognize macros which messes up the highlighting for the rest of the file after any macro.

nobodywasishere commented 1 week ago

This is a known issue and a limitation of reusing the Ruby tree-sitter.

Qard commented 1 week ago

Ah, I didn't know it was reusing the Ruby tree-sitter. I guess it will need to fork eventually. Just wanted to report the issue in case it had not been caught yet, but sounds like there's already awareness of it. 😅