Merge branch 'master' of https://github.com/helix-editor/helix into tree_explore

pull/9/head
wongjiahau 1 year ago
commit 72b845da15

@ -21,14 +21,14 @@ use std::borrow::Cow;
/// can be in any order, or even share the same position.
///
/// The anchor and head positions use gap indexing, meaning
/// that their indices represent the the gaps *between* `char`s
/// that their indices represent the gaps *between* `char`s
/// rather than the `char`s themselves. For example, 1
/// represents the position between the first and second `char`.
///
/// Below are some example `Range` configurations to better
/// illustrate. The anchor and head indices are show as
/// "(anchor, head)", followed by example text with "[" and "]"
/// inserted to represent the anchor and head positions:
/// Below are some examples of `Range` configurations.
/// The anchor and head indices are shown as "(anchor, head)"
/// tuples, followed by example text with "[" and "]" symbols
/// representing the anchor and head positions:
///
/// - (0, 3): `[Som]e text`.
/// - (3, 0): `]Som[e text`.

@ -1120,7 +1120,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "git-rebase"
source = { git = "https://github.com/the-mikedavis/tree-sitter-git-rebase", rev = "332dc528f27044bc4427024dbb33e6941fc131f2" }
source = { git = "https://github.com/the-mikedavis/tree-sitter-git-rebase", rev = "d8a4207ebbc47bd78bacdf48f883db58283f9fd8" }
[[language]]
name = "regex"
@ -1434,7 +1434,7 @@ injection-regex = "sql"
[[grammar]]
name = "sql"
source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "286e10c5bc5d1703ee8f9afb351165a9a6182be1" }
source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "3a3f92b29c880488a08bc2baaf1aca6432ec3380" }
[[language]]
name = "gdscript"

@ -1,20 +1,17 @@
(keyword_btree) @function.builtin
(keyword_hash) @function.builtin
(keyword_gist) @function.builtin
(keyword_spgist) @function.builtin
(keyword_gin) @function.builtin
(keyword_brin) @function.builtin
(cast
name: (identifier) @function.builtin)
(count
name: (identifier) @function.builtin)
(keyword_group_concat) @function.builtin
[
(keyword_btree)
(keyword_hash)
(keyword_gist)
(keyword_spgist)
(keyword_gin)
(keyword_brin)
(invocation
name: (identifier) @function.builtin)
(cast)
(count)
(group_concat)
(invocation)
] @function.builtin
(table_reference
name: (identifier) @namespace)
@ -57,7 +54,7 @@
] @constant.builtin
((literal) @constant.numeric
(#match? @constant.numeric "^(-?\d*\.?\d*)$"))
(#match? @constant.numeric "^-?\\d*\\.?\\d*$"))
(literal) @string
@ -92,6 +89,8 @@
(keyword_primary)
(keyword_create)
(keyword_alter)
(keyword_change)
(keyword_modify)
(keyword_drop)
(keyword_add)
(keyword_table)
@ -119,8 +118,12 @@
(keyword_if)
(keyword_exists)
(keyword_auto_increment)
(keyword_collate)
(keyword_character)
(keyword_engine)
(keyword_default)
(keyword_cascade)
(keyword_restrict)
(keyword_with)
(keyword_no)
(keyword_data)
@ -144,6 +147,7 @@
(keyword_over)
(keyword_nulls)
(keyword_first)
(keyword_after)
(keyword_last)
(keyword_window)
(keyword_range)
@ -170,6 +174,37 @@
(keyword_like)
(keyword_similar)
(keyword_preserve)
(keyword_unsigned)
(keyword_zerofill)
(keyword_external)
(keyword_stored)
(keyword_cached)
(keyword_uncached)
(keyword_replication)
(keyword_tblproperties)
(keyword_compute)
(keyword_stats)
(keyword_location)
(keyword_partitioned)
(keyword_comment)
(keyword_sort)
(keyword_format)
(keyword_delimited)
(keyword_fields)
(keyword_terminated)
(keyword_escaped)
(keyword_lines)
(keyword_parquet)
(keyword_rcfile)
(keyword_csv)
(keyword_textfile)
(keyword_avro)
(keyword_sequencefile)
(keyword_orc)
(keyword_avro)
(keyword_jsonfile)
] @keyword
[
@ -193,9 +228,11 @@
(keyword_smallserial)
(keyword_serial)
(keyword_bigserial)
(keyword_smallint)
(keyword_int)
(tinyint)
(smallint)
(mediumint)
(int)
(bigint)
(decimal)
(numeric)
@ -222,6 +259,8 @@
(keyword_timestamp)
(keyword_timestamptz)
(keyword_interval)
(keyword_geometry)
(keyword_geography)
(keyword_box2d)

Loading…
Cancel
Save