Skip to content

Commit

Permalink
Bump tree-sitter llvm grammars (helix-editor#11851)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flakebi authored and GladkihEgor committed Jan 4, 2025
1 parent adac507 commit c9060ee
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
6 changes: 3 additions & 3 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ injection-regex = "llvm"

[[grammar]]
name = "llvm"
source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm", rev = "e9948edc41e9e5869af99dddb2b5ff5cc5581af6" }
source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm", rev = "c14cb839003348692158b845db9edda201374548" }

[[language]]
name = "llvm-mir"
Expand All @@ -1571,7 +1571,7 @@ injection-regex = "mir"

[[grammar]]
name = "llvm-mir"
source = { git = "https://github.com/Flakebi/tree-sitter-llvm-mir", rev = "06fabca19454b2dc00c1b211a7cb7ad0bc2585f1" }
source = { git = "https://github.com/Flakebi/tree-sitter-llvm-mir", rev = "d166ff8c5950f80b0a476956e7a0ad2f27c12505" }

[[language]]
name = "llvm-mir-yaml"
Expand All @@ -1594,7 +1594,7 @@ injection-regex = "tablegen"

[[grammar]]
name = "tablegen"
source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "568dd8a937347175fd58db83d4c4cdaeb6069bd2" }
source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "3e9c4822ab5cdcccf4f8aa9dcd42117f736d51d9" }

[[language]]
name = "markdown"
Expand Down
12 changes: 11 additions & 1 deletion runtime/queries/llvm-mir/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,16 @@
"pre-instr-symbol"
"post-instr-symbol"
"heap-alloc-marker"
"pcsections"
"mmra"
"cfi-type"
"debug-instr-number"
"debug-location"
"dbg-instr-ref"
"mcsymbol"
"tied-def"
"target-flags"
"vscale"
"CustomRegMask"
"same_value"
"def_cfa_register"
Expand Down Expand Up @@ -118,11 +123,16 @@
"got"
"jump-table"
"syncscope"
"address-taken"
"machine-block-address-taken"
"ir-block-address-taken"
"landing-pad"
"inlineasm-br-indirect-target"
"ehfunclet-entry"
"bb_id"
"call-frame-size"
"bbsections"
"Exception"
"Cold"

(intpred)
(floatpred)
Expand Down
2 changes: 2 additions & 0 deletions runtime/queries/llvm/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@

[
"to"
"nneg"
"nuw"
"nsw"
"exact"
"disjoint"
"unwind"
"from"
"cleanup"
Expand Down
2 changes: 2 additions & 0 deletions runtime/queries/tablegen/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
"def"
"defset"
"defvar"
"deftype"
"assert"
"dump"
] @keyword

[
Expand Down

0 comments on commit c9060ee

Please sign in to comment.