sublime-zig-language
sublime-zig-language copied to clipboard
Symbol detection gives incorrect locations
Using Ctrl+R to search through symbols in a given file seems to yield not the actual definition site of a symbol, but just a random place where it happens to be mentioned. Try searching for Feature in target.zig to see what I mean.
It appears declarations aren't picked up as such. I believe what's missing is meta.struct.zig.
Here's target.zig as op described.

Here's a struct definition in a cpp file.

can you try #67 ?
can you try #67 ?
With just a quick test, this seems to work a lot better!