Update some grammars to a commit where the license file is included (#8691)

pull/8861/head
blinxen 1 year ago committed by GitHub
parent 2579bca21c
commit 39aa6fa646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -975,7 +975,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
name = "beancount" name = "beancount"
source = { git = "https://github.com/polarmutex/tree-sitter-beancount", rev = "4cbd1f09cd07c1f1fabf867c2cf354f9da53cc4c" } source = { git = "https://github.com/polarmutex/tree-sitter-beancount", rev = "f3741a3a68ade59ec894ed84a64673494d2ba8f3" }
[[language]] [[language]]
name = "ocaml" name = "ocaml"
@ -1108,7 +1108,7 @@ formatter = { command = "purs-tidy", args = ["format"] }
[[grammar]] [[grammar]]
name = "purescript" name = "purescript"
source = { git = "https://github.com/postsolar/tree-sitter-purescript", rev = "593193b9bf0f46d5eee708a4e53044d2a9054897" } source = { git = "https://github.com/postsolar/tree-sitter-purescript", rev = "5ef5592674ea42de75fc2792972e4ea0b6e3da6c" }
[[language]] [[language]]
name = "zig" name = "zig"
@ -1218,7 +1218,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
name = "perl" name = "perl"
source = { git = "https://github.com/tree-sitter-perl/tree-sitter-perl", rev = "9f3166800d40267fa68ed8273e96baf74f390517" } source = { git = "https://github.com/tree-sitter-perl/tree-sitter-perl", rev = "e99bb5283805db4cb86c964722d709df21b0ac16" }
[[language]] [[language]]
name = "pod" name = "pod"
@ -1264,7 +1264,7 @@ injection-regex = "comment"
[[grammar]] [[grammar]]
name = "comment" name = "comment"
source = { git = "https://github.com/stsewd/tree-sitter-comment", rev = "5dd3c62f1bbe378b220fe16b317b85247898639e" } source = { git = "https://github.com/stsewd/tree-sitter-comment", rev = "a37ca370310ac6f89b6e0ebf2b86b2219780494e" }
[[language]] [[language]]
name = "wgsl" name = "wgsl"
@ -1288,7 +1288,7 @@ injection-regex = "llvm"
[[grammar]] [[grammar]]
name = "llvm" name = "llvm"
source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm", rev = "3b213925b9c4f42c1acfe2e10bfbb438d9c6834d" } source = { git = "https://github.com/benwilliamgraham/tree-sitter-llvm", rev = "e9948edc41e9e5869af99dddb2b5ff5cc5581af6" }
[[language]] [[language]]
name = "llvm-mir" name = "llvm-mir"
@ -1742,7 +1742,7 @@ injection-regex = "sql"
[[grammar]] [[grammar]]
name = "sql" name = "sql"
source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "eeab7240a11098724e6f95bc57cc3ceaf5487d5f" } source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "25be0b8f17e9189ad9e1b875869d025c5aec1286" }
[[language]] [[language]]
name = "gdscript" name = "gdscript"
@ -2045,7 +2045,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
name = "ungrammar" name = "ungrammar"
source = { git = "https://github.com/Philipp-M/tree-sitter-ungrammar", rev = "0113de880a58ea14f2a75802e9b99fcc25003d9c" } source = { git = "https://github.com/Philipp-M/tree-sitter-ungrammar", rev = "a7e104629cff5a8b7367187610631e8f5eb7c6ea" }
[[language]] [[language]]
name = "dot" name = "dot"
@ -2171,7 +2171,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
name = "astro" name = "astro"
source = { git = "https://github.com/virchau13/tree-sitter-astro", rev = "5f5c3e73c45967df9aa42f861fad2d77cd4e0900" } source = { git = "https://github.com/virchau13/tree-sitter-astro", rev = "947e93089e60c66e681eba22283f4037841451e7" }
[[language]] [[language]]
name = "bass" name = "bass"
@ -2541,7 +2541,7 @@ comment-token = "("
[[grammar]] [[grammar]]
name = "uxntal" name = "uxntal"
source = { git = "https://github.com/Jummit/tree-sitter-uxntal", rev = "9297e95ef74380b0ad84c4fd98f91e9f6e4319e6" } source = { git = "https://github.com/Jummit/tree-sitter-uxntal", rev = "d68406066648cd6db4c6a2f11ec305af02079884" }
[[language]] [[language]]
name = "yuck" name = "yuck"
@ -2662,7 +2662,7 @@ grammar = "rego"
[[grammar]] [[grammar]]
name = "rego" name = "rego"
source = { git = "https://github.com/FallenAngel97/tree-sitter-rego", rev = "b2667c975f07b33be3ceb83bea5cfbad88095866" } source = { git = "https://github.com/FallenAngel97/tree-sitter-rego", rev = "9ac75e71b2d791e0aadeef68098319d86a2a14cf" }
[[language]] [[language]]
name = "nim" name = "nim"
@ -2764,7 +2764,7 @@ indent = { tab-width = 3, unit = " " }
[[grammar]] [[grammar]]
name = "forth" name = "forth"
source = { git = "https://github.com/alexanderbrevig/tree-sitter-forth", rev = "304ed77beb113e37af38b20ff14e3c37bf350d10" } source = { git = "https://github.com/alexanderbrevig/tree-sitter-forth", rev = "90189238385cf636b9ee99ce548b9e5b5e569d48" }
[[language]] [[language]]
name = "fsharp" name = "fsharp"

@ -1,3 +1,19 @@
; ----------------------------------------------------------------------------
; Record fields would need to come before literal strings in order to be captured correctly
(record_accessor
field: [ (variable)
(string)
(triple_quote_string)
] @variable.other.member)
(exp_record_access
field: [ (variable)
(string)
(triple_quote_string)
] @variable.other.member)
; ---------------------------------------------------------------------------- ; ----------------------------------------------------------------------------
; Literals and comments ; Literals and comments
@ -117,8 +133,7 @@
(row_field (field_name) @variable.other.member) (row_field (field_name) @variable.other.member)
(record_field (field_name) @variable.other.member) (record_field (field_name) @variable.other.member)
(record_accessor (variable) @variable.other.member) (record_field (field_pun) @variable.other.member)
(exp_record_access (variable) @variable.other.member)
(signature name: (variable) @type) (signature name: (variable) @type)
(function name: (variable) @function) (function name: (variable) @function)

@ -131,6 +131,7 @@
(keyword_partition) (keyword_partition)
(keyword_group) (keyword_group)
(keyword_with) (keyword_with)
(keyword_without)
(keyword_as) (keyword_as)
(keyword_having) (keyword_having)
(keyword_limit) (keyword_limit)
@ -227,6 +228,7 @@
(keyword_input) (keyword_input)
(keyword_name) (keyword_name)
(keyword_oid) (keyword_oid)
(keyword_oids)
(keyword_options) (keyword_options)
(keyword_plpgsql) (keyword_plpgsql)
(keyword_precision) (keyword_precision)
@ -264,6 +266,44 @@
(keyword_user) (keyword_user)
(keyword_valid) (keyword_valid)
(keyword_action) (keyword_action)
(keyword_definer)
(keyword_invoker)
(keyword_security)
(keyword_extension)
(keyword_version)
(keyword_out)
(keyword_inout)
(keyword_variadic)
(keyword_session)
(keyword_isolation)
(keyword_level)
(keyword_serializable)
(keyword_repeatable)
(keyword_read)
(keyword_write)
(keyword_committed)
(keyword_uncommitted)
(keyword_deferrable)
(keyword_names)
(keyword_zone)
(keyword_immediate)
(keyword_deferred)
(keyword_constraints)
(keyword_snapshot)
(keyword_characteristics)
(keyword_off)
(keyword_follows)
(keyword_precedes)
(keyword_each)
(keyword_instead)
(keyword_of)
(keyword_initially)
(keyword_old)
(keyword_new)
(keyword_referencing)
(keyword_statement)
(keyword_execute)
(keyword_procedure)
] @keyword ] @keyword
[ [
@ -373,10 +413,8 @@
">=" ">="
">" ">"
"<>" "<>"
"->" (op_other)
"->>" (op_unary_other)
"#>"
"#>>"
] @operator ] @operator
[ [

Loading…
Cancel
Save