Last time we looked at Tree-sitter’s query system and showed how it can be used to make a syntax highlighting engine in Pulsar. But syntax highlighting is simply the most visible of the various tasks that a language package performs.
Today we’ll look at two other systems — indentation hinting and code folding — and I’ll explain how queries can be used to support each one.
You must log in or # to comment.