Commit Graph

766 Commits (2f4b9a47f36c04eae7c2a67445150337065aaeff)

Author SHA1 Message Date
Blaž Hrastnik c2e6b9f506 Add typescript support & ts/js indentation queries 3 years ago
Blaž Hrastnik 8fd8006043 Golang indent queries 3 years ago
Blaž Hrastnik aeabfc55a8 Adjust golang indents yet again 3 years ago
Blaž Hrastnik 67b037050f Adjust rust indents 3 years ago
Blaž Hrastnik a28eaa81a0 Golang indent adjustment 3 years ago
Blaž Hrastnik 094203c74e Update deps, introduce the new tree-sitter lifetimes 3 years ago
Blaž Hrastnik 9edae7e1f8 syntax: golang: Indent type declarations 3 years ago
Blaž Hrastnik 6e03019a2c Adjust highlighting for rust. 3 years ago
Blaž Hrastnik 31d41080ed Add indentation queries for golang. 3 years ago
Blaž Hrastnik 4a9d1163e0 Hacky way to specify indent scopes per language via toml configs.
Can't do it via a scm query nicely because it returns an iterator over
all the matches, whereas we want to traverse the tree ourselves.

Can't extract the pattern data from a parsed query either.

Oh well, toml files for now.
3 years ago
Blaž Hrastnik 77db3599ba Fix C highlighting inconsistencies. 3 years ago
Blaž Hrastnik 305a059f58 Highlight metavariables ($var) inside rust macros. 3 years ago
Blaž Hrastnik dfb1ae2d33 Rust: Highlight 'crate' as a keyword. 3 years ago
Blaž Hrastnik 4e31d1521b Add tree-sitter queries. 3 years ago
Blaž Hrastnik 61872de6c0 queries: rust: highlight number constants correctly. 3 years ago
Blaž Hrastnik 71c06c11cb Import tree sitter queries. 3 years ago