diff options
| author | Matthias Queitsch <matthias.queitsch@mailbox.org> | 2023-03-08 21:28:43 +0100 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2023-03-08 17:32:22 -0500 |
| commit | fc1ca10bfbdee17e29374d0d1bac8ea030539dc3 (patch) | |
| tree | 8a6b058ada32caf7ec325223b6f9a682ec0a600c | |
| parent | Update parsers: squirrel, yuck (diff) | |
| download | nvim-treesitter-fc1ca10bfbdee17e29374d0d1bac8ea030539dc3.tar nvim-treesitter-fc1ca10bfbdee17e29374d0d1bac8ea030539dc3.tar.gz nvim-treesitter-fc1ca10bfbdee17e29374d0d1bac8ea030539dc3.tar.bz2 nvim-treesitter-fc1ca10bfbdee17e29374d0d1bac8ea030539dc3.tar.lz nvim-treesitter-fc1ca10bfbdee17e29374d0d1bac8ea030539dc3.tar.xz nvim-treesitter-fc1ca10bfbdee17e29374d0d1bac8ea030539dc3.tar.zst nvim-treesitter-fc1ca10bfbdee17e29374d0d1bac8ea030539dc3.zip | |
highlights(sql): add new keywords and datatypes
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | queries/sql/highlights.scm | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lockfile.json b/lockfile.json index 6956fc3ba..414dd288e 100644 --- a/lockfile.json +++ b/lockfile.json @@ -420,7 +420,7 @@ "revision": "05f949d3c1c15e3261473a244d3ce87777374dec" }, "sql": { - "revision": "1cb7c7a11015983f6d173847d5a3574f8e20107b" + "revision": "84a2b208f072a2ca78fc59b5fa51cbdbf9c5aa37" }, "squirrel": { "revision": "3fefc6b9bb2b4de1b1c461783f675918cd957546" diff --git a/queries/sql/highlights.scm b/queries/sql/highlights.scm index db413cc0e..df8fbb7c8 100644 --- a/queries/sql/highlights.scm +++ b/queries/sql/highlights.scm @@ -204,18 +204,25 @@ (keyword_unbounded) (keyword_unique) (keyword_cascade) + (keyword_delayed) + (keyword_high_priority) + (keyword_low_priority) + (keyword_ignore) + (keyword_nothing) ] @type.qualifier [ (keyword_int) (keyword_null) (keyword_boolean) + (keyword_binary) (keyword_bit) (keyword_smallserial) (keyword_serial) (keyword_bigserial) (keyword_smallint) (keyword_bigint) + (keyword_tinyint) (keyword_decimal) (keyword_float) (keyword_numeric) @@ -224,7 +231,9 @@ (keyword_money) (keyword_char) (keyword_varchar) + (keyword_varying) (keyword_text) + (keyword_string) (keyword_uuid) (keyword_json) (keyword_jsonb) @@ -248,6 +257,7 @@ (keyword_not) (keyword_by) (keyword_on) + (keyword_do) ] @keyword.operator [ |
