Closed g-cassie closed 5 months ago
I've found a couple rough edges on this. Will continue to work on ironing it out but let me know if you are okay with merging it eventually.
I'd definitely be up for merging! Just add a test file to https://github.com/stevearc/aerial.nvim/tree/master/tests/treesitter with at least one instance of each symbol type that is supported and run make update_snapshots
to generate the symbol snapshot.
Thanks - test added. Pretty nice testing setup!
Awesome, looks great! The test failure looks unrelated; I just need to adapt to something that changed upstream. Thanks for the contribution!
This is very basic level support but it's enough for me personally to get value out of this plugin while doing zig development.
I tried to have it differentiate between methods and functions but it would end up dropping structs which contain methods.