Skip to content

More verbose Treesitter source output for JSON files #36

Closed Answered by Bekaboo
Jendker asked this question in Q&A
Discussion options

You must be logged in to vote

@Jendker Sorry I'm replying late, I tested with several json files and seems that the cause of the problem is the treesitter parse does not return the "parent" key of the current node as a parent treesitter node. So the only way to improve the result is to improve the treesitter parsers so that dropbar can get the parent of current json key from the parsers. There's little thing dropbar can do here.


EDIT: Never mind, should be fixed in commit 5c8bd1a

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Jendker
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants