Skip to content

Syntax highlighting and outline support for empirical fun definitions#196

Open
joeldrapper wants to merge 1 commit intozed-extensions:mainfrom
joeldrapper:push-rpuwplpkxxop
Open

Syntax highlighting and outline support for empirical fun definitions#196
joeldrapper wants to merge 1 commit intozed-extensions:mainfrom
joeldrapper:push-rpuwplpkxxop

Conversation

@joeldrapper
Copy link
Contributor

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 fun definitions 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.

fun foo => void do
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant