aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/sql/highlights.scm76
1 files changed, 70 insertions, 6 deletions
diff --git a/runtime/queries/sql/highlights.scm b/runtime/queries/sql/highlights.scm
index f15a92e7..2faa67ed 100644
--- a/runtime/queries/sql/highlights.scm
+++ b/runtime/queries/sql/highlights.scm
@@ -8,7 +8,6 @@
(keyword_brin)
(cast)
- (count)
(group_concat)
(invocation)
] @function.builtin
@@ -65,12 +64,14 @@
(keyword_replace)
(keyword_update)
(keyword_into)
+ (keyword_overwrite)
(keyword_values)
(keyword_set)
(keyword_from)
(keyword_left)
(keyword_right)
(keyword_inner)
+ (keyword_full)
(keyword_outer)
(keyword_cross)
(keyword_join)
@@ -90,10 +91,12 @@
(keyword_create)
(keyword_alter)
(keyword_change)
+ (keyword_analyze)
(keyword_modify)
(keyword_drop)
(keyword_add)
(keyword_table)
+ (keyword_tables)
(keyword_view)
(keyword_materialized)
(keyword_column)
@@ -102,7 +105,6 @@
(keyword_distinct)
(keyword_constraint)
; (keyword_cast)
- ; (keyword_count)
; (keyword_group_concat)
(keyword_separator)
(keyword_max)
@@ -118,6 +120,8 @@
(keyword_if)
(keyword_exists)
(keyword_auto_increment)
+ (keyword_generated)
+ (keyword_always)
(keyword_collate)
(keyword_character)
(keyword_engine)
@@ -137,6 +141,8 @@
(keyword_unlogged)
(keyword_union)
(keyword_all)
+ (keyword_any)
+ (keyword_some)
(keyword_except)
(keyword_intersect)
(keyword_returning)
@@ -164,6 +170,8 @@
(keyword_others)
(keyword_only)
(keyword_unique)
+ (keyword_foreign)
+ (keyword_references)
(keyword_concurrently)
; (keyword_btree)
; (keyword_hash)
@@ -176,6 +184,47 @@
(keyword_preserve)
(keyword_unsigned)
(keyword_zerofill)
+ (keyword_conflict)
+ (keyword_do)
+ (keyword_nothing)
+ (keyword_high_priority)
+ (keyword_low_priority)
+ (keyword_delayed)
+ (keyword_recursive)
+ (keyword_cascaded)
+ (keyword_local)
+ (keyword_current_timestamp)
+ (keyword_check)
+ (keyword_option)
+ (keyword_vacuum)
+ (keyword_wait)
+ (keyword_nowait)
+
+ (keyword_trigger)
+ (keyword_function)
+ (keyword_returns)
+ (keyword_return)
+ (keyword_setof)
+ (keyword_atomic)
+ (keyword_declare)
+ ; (keyword_language)
+ (keyword_sql)
+ (keyword_plpgsql)
+ (keyword_immutable)
+ (keyword_stable)
+ (keyword_volatile)
+ (keyword_leakproof)
+ (keyword_parallel)
+ (keyword_safe)
+ (keyword_unsafe)
+ (keyword_restricted)
+ (keyword_called)
+ (keyword_returns)
+ (keyword_input)
+ (keyword_strict)
+ (keyword_cost)
+ (keyword_rows)
+ (keyword_support)
(keyword_external)
(keyword_stored)
@@ -183,8 +232,14 @@
(keyword_uncached)
(keyword_replication)
(keyword_tblproperties)
+ (keyword_options)
(keyword_compute)
(keyword_stats)
+ (keyword_statistics)
+ (keyword_optimize)
+ (keyword_rewrite)
+ (keyword_bin_pack)
+ (keyword_incremental)
(keyword_location)
(keyword_partitioned)
(keyword_comment)
@@ -195,6 +250,9 @@
(keyword_terminated)
(keyword_escaped)
(keyword_lines)
+ (keyword_cache)
+ (keyword_metadata)
+ (keyword_noscan)
(keyword_parquet)
(keyword_rcfile)
@@ -205,6 +263,9 @@
(keyword_orc)
(keyword_avro)
(keyword_jsonfile)
+
+ (keyword_precision)
+ (keyword_inet)
] @keyword
[
@@ -224,6 +285,8 @@
[
(keyword_boolean)
+ (bit)
+ (keyword_binary)
(keyword_smallserial)
(keyword_serial)
@@ -244,6 +307,8 @@
(char)
(varchar)
+ (numeric)
+ (keyword_string)
(keyword_text)
(keyword_uuid)
@@ -253,6 +318,9 @@
(keyword_xml)
(keyword_bytea)
+ (keyword_inet)
+
+ (enum)
(keyword_date)
(keyword_datetime)
@@ -266,10 +334,6 @@
(keyword_box2d)
(keyword_box3d)
- (char)
- (varchar)
- (numeric)
-
(keyword_oid)
(keyword_name)
(keyword_regclass)