aboutsummaryrefslogtreecommitdiffstats
path: root/queries/sql
diff options
context:
space:
mode:
authorMatthias Q <35303817+matthias-Q@users.noreply.github.com>2023-06-19 19:09:47 +0200
committerGitHub <noreply@github.com>2023-06-19 13:09:47 -0400
commit517a79c84890507e0868982f23c7723541a0d0ea (patch)
tree366c34938375c943ef3bc46b012c40b67f13b6b0 /queries/sql
parentfix(arduino): adapt to scanner rewrite (diff)
downloadnvim-treesitter-517a79c84890507e0868982f23c7723541a0d0ea.tar
nvim-treesitter-517a79c84890507e0868982f23c7723541a0d0ea.tar.gz
nvim-treesitter-517a79c84890507e0868982f23c7723541a0d0ea.tar.bz2
nvim-treesitter-517a79c84890507e0868982f23c7723541a0d0ea.tar.lz
nvim-treesitter-517a79c84890507e0868982f23c7723541a0d0ea.tar.xz
nvim-treesitter-517a79c84890507e0868982f23c7723541a0d0ea.tar.zst
nvim-treesitter-517a79c84890507e0868982f23c7723541a0d0ea.zip
feat(sql): add new keywords for optimization statements and renames
Diffstat (limited to 'queries/sql')
-rw-r--r--queries/sql/highlights.scm17
1 files changed, 16 insertions, 1 deletions
diff --git a/queries/sql/highlights.scm b/queries/sql/highlights.scm
index 561b19a03..a2976c541 100644
--- a/queries/sql/highlights.scm
+++ b/queries/sql/highlights.scm
@@ -127,6 +127,7 @@
(keyword_limit)
(keyword_offset)
(keyword_table)
+ (keyword_tables)
(keyword_key)
(keyword_references)
(keyword_foreign)
@@ -140,6 +141,7 @@
(keyword_min)
(keyword_avg)
(keyword_column)
+ (keyword_columns)
(keyword_cross)
(keyword_lateral)
(keyword_alter)
@@ -190,7 +192,6 @@
(keyword_row)
(keyword_sort)
(keyword_compute)
- (keyword_stats)
(keyword_comment)
(keyword_partitioned)
(keyword_location)
@@ -201,6 +202,12 @@
(keyword_location)
(keyword_partitioned)
(keyword_cached)
+ (keyword_analyze)
+ (keyword_rewrite)
+ (keyword_statistics)
+ (keyword_optimize)
+ (keyword_vacuum)
+ (keyword_cache)
] @keyword
[
@@ -217,6 +224,14 @@
(keyword_option)
(keyword_local)
(keyword_cascaded)
+ (keyword_wait)
+ (keyword_nowait)
+ (keyword_metadata)
+ (keyword_incremental)
+ (keyword_bin_pack)
+ (keyword_noscan)
+ (keyword_stats)
+ (keyword_statistics)
] @type.qualifier
[