aboutsummaryrefslogtreecommitdiffstats
path: root/queries/sql
diff options
context:
space:
mode:
authorderekstride <djgstride@gmail.com>2022-09-08 09:58:37 -0400
committerChristian Clason <christian.clason@uni-due.de>2022-09-08 21:13:17 +0200
commit612af3061d09472dd62c7dabd9229a39d273d3bf (patch)
treec20eb2bc1fd94c4282a314616768a6b3173361fd /queries/sql
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-612af3061d09472dd62c7dabd9229a39d273d3bf.tar
nvim-treesitter-612af3061d09472dd62c7dabd9229a39d273d3bf.tar.gz
nvim-treesitter-612af3061d09472dd62c7dabd9229a39d273d3bf.tar.bz2
nvim-treesitter-612af3061d09472dd62c7dabd9229a39d273d3bf.tar.lz
nvim-treesitter-612af3061d09472dd62c7dabd9229a39d273d3bf.tar.xz
nvim-treesitter-612af3061d09472dd62c7dabd9229a39d273d3bf.tar.zst
nvim-treesitter-612af3061d09472dd62c7dabd9229a39d273d3bf.zip
highlights(sql): missing keyword & marginalia
Diffstat (limited to 'queries/sql')
-rw-r--r--queries/sql/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/sql/highlights.scm b/queries/sql/highlights.scm
index bfa0c6ccd..9d34cdbf1 100644
--- a/queries/sql/highlights.scm
+++ b/queries/sql/highlights.scm
@@ -10,8 +10,6 @@
name: (identifier) @type)
(relation
- (table_reference
- name: (identifier) @type)
table_alias: (identifier) @variable)
(field
@@ -20,6 +18,7 @@
(literal) @string
(comment) @comment
+(marginalia) @comment
((literal) @number
(lua-match? @number "^%d+$"))
@@ -143,6 +142,7 @@
(keyword_geography)
(keyword_box2d)
(keyword_box3d)
+ (keyword_only)
] @keyword
[