Uh oh!
There was an error while loading. Please reload this page.
Syntax highlighting and outline support for empirical fun definitions - #196
Syntax highlighting and outline support for empirical fun definitions#196joeldrapper wants to merge 1 commit into
fun definitions#196Conversation
df0d227 to
c21b0a2Comparec21b0a2 to
e6b71bbComparevitallium
commented
Feb 15, 2026
@joeldrapper Sorry for being extremely late. Is this something that you'd still like to see in the Ruby extension? Since changes here are purely tree-sitter queries I think we can merge this PR. Thanks. |
joeldrapper
commented
Feb 15, 2026
I would love to see this here as long as it doesn't negatively impact anyone else. I think the queries I write here are specific enough that is very unlikely to cause improper highlighting for people not using empirical. |
vitallium
commented
Feb 15, 2026
Awesome. Could you please resolve merge conflicts to get this merged? :-) |
I realise this is a very unusual use of Ruby so completely understand if you’d rather not merge it here. I’ve written TreeSitter queries to support
fundefinitions from Empirical with syntax highlighting and outline support.https://github.com/yippee-fun/empirical
These queries are so specific, it’s extremely unlikely that they would be triggered for anyone who isn’t using Empirical. You would need to have a call pattern like this in your code.