this post was submitted on 01 Nov 2023
2 points (100.0% liked)

Pulsar

102 readers
2 users here now

Pulsar

The community led, hyper-hackable text editor

Rules

By posting here you also agree to adhere to our Code of Conduct by:

Useful Links

founded 1 year ago
MODERATORS
 

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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here