Commit Graph

42 Commits (64099af3f1f5957de8f4203c665063d02ba4bac9)

Author SHA1 Message Date
Blaž Hrastnik ade1a453ef syntax: Improve go highlights
Blaž Hrastnik a6108baec9 Improve grammar definitions
oberblastmeister 5766f5da8f
OCaml support ()
* added some stuff

* add interface

* indent

* highlights and locals

* scope

* change some stuff

* add indents

* fix blanket highlight

* macro

* use inherits
oberblastmeister ae3f936611
Lua support ()
* added submodule

* small changes

* updated some stuff

* remove

* shallow clone

* correct indent

* shallow

* ok

* highlights

* proper captures
oberblastmeister 1586b0eec7
YAML support ()
* added submodule

* remove wrong one

* added highlights

* use property

* add indents

* shallow
voroskoi f22e0aa2ae
Add zig tree-sitter support ()
* Add initial zig tree-sitter support

* zig/highlights.scm: remove unnecessary queries

* Add zig/indents.toml
Yusuf Bera Ertan ac8bc54108 fix: add missing optional keyword to protobuf syntax
Blaž Hrastnik 466528c493 Golang indent improvements
Yusuf Bera Ertan 2f42b2338e feat: add indenting for protobuf
Yusuf Bera Ertan 4b45f27a13 feat: add protobuf tree-sitter parser with highlighting queries
oberblastmeister 098b6b6eed
gruvbox theme changes ()
* changed some gruvbox highlights

* more stuff including cursors

* use property instead

* use variable.property
Ivan Tham aaccc9419a
Add ledger tree-sitter ()
Might need to update later since the current one highlight does not
work very well yet.
Kirawi b239f0f45f
add java highlighting ()
Blaž Hrastnik e2c3547f26 Improve nix indents
Blaž Hrastnik 29cefa1be8 rust: Indent multi line call expressions one level deeper
Blaž Hrastnik f24007b30f Improve rust indentation queries
if/if let are already handled by block, and keeping these scopes would
indent else blocks one level too far.
Kirawi 084a8a9522
Rewritten Rust `highlights.scm` ()
* rewrote Rust highlights.scm

* wip

* wip

* wip

* wip

* fixed type highlighting

* wip

* rewrite again

* moved operators

* missing newline

* missing newline

* update book

* fix constructor highlighting

* fix constructor highlighting

* fix const highlighting

* better constructor highlighting

* remove dup, bug was my locals.scm file

* fixed docs

* merge

* fixed for highlighting

* add yield

* remove yield

* added yield back

* fixed yield highlighting

* unecessary
Kirawi c7aa7bf4ba
VSCode Dark+ Theme ()
* wip

* Add VSCode Dark+ Theme

wip

wip

wip

wip

wip

wip

properly detect constants

add bool

wip

* suggestion

* add variant for c/c++

* fix hexcode error

* removed regex highlight

* fixed constant higlighting

* wip

* add space

* add suggestions

* update theme

* update book

* suggestions

* fix c/c++ enum

* update book
wesh aa70362d20 Add julia support (LSP not working)
Ivan Tham a364d6c383 Add latex
Timothy DeHerrera d8df10f295 Add Nix runtime
Corey Powell 35feb614b6 Updated elixir queries to fix crash
Corey Powell 01dd7b570a Restored haskell syntax
It seems to work
notoria f3a243c6cb Rust: Highlight crate namespace, categorize `mut`
notoria b2b2d430ae Rust: Add keyword `async`, match the entire macro
Corey Powell ca042a4bde Added elixir syntax
Using custom fork for now to get around generating the source files
Blaž Hrastnik c2e6b9f506 Add typescript support & ts/js indentation queries
Blaž Hrastnik 8fd8006043 Golang indent queries
Blaž Hrastnik aeabfc55a8 Adjust golang indents yet again
Blaž Hrastnik 67b037050f Adjust rust indents
Blaž Hrastnik a28eaa81a0 Golang indent adjustment
Blaž Hrastnik 094203c74e Update deps, introduce the new tree-sitter lifetimes
Blaž Hrastnik 9edae7e1f8 syntax: golang: Indent type declarations
Blaž Hrastnik 6e03019a2c Adjust highlighting for rust.
Blaž Hrastnik 31d41080ed Add indentation queries for golang.
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.
Blaž Hrastnik 77db3599ba Fix C highlighting inconsistencies.
Blaž Hrastnik 305a059f58 Highlight metavariables ($var) inside rust macros.
Blaž Hrastnik dfb1ae2d33 Rust: Highlight 'crate' as a keyword.
Blaž Hrastnik 4e31d1521b Add tree-sitter queries.
Blaž Hrastnik 61872de6c0 queries: rust: highlight number constants correctly.
Blaž Hrastnik 71c06c11cb Import tree sitter queries.