Skip to content

Commit

Permalink
feat(sql): Add MariaDB/MySQL `ALTER TABLE ... CHANGE|MODIFY ... [FIRS…
Browse files Browse the repository at this point in the history
…T|AFTER]` syntax

Upstream changes: DerekStride/tree-sitter-sql@173d6fe...0d7a121
  • Loading branch information
LeoniePhiline committed Feb 18, 2023
1 parent 16549e2 commit 4ea492f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ injection-regex = "sql"

[[grammar]]
name = "sql"
source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "173d6feb5064defb7d0ef742a4fc7c6d763a2df0" }
source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "0d7a121b2a08fb37109f7be1cc6654443cad661f" }

[[language]]
name = "gdscript"
Expand Down
3 changes: 3 additions & 0 deletions runtime/queries/sql/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
(keyword_primary)
(keyword_create)
(keyword_alter)
(keyword_change)
(keyword_modify)
(keyword_drop)
(keyword_add)
(keyword_table)
Expand Down Expand Up @@ -148,6 +150,7 @@
(keyword_over)
(keyword_nulls)
(keyword_first)
(keyword_after)
(keyword_last)
(keyword_window)
(keyword_range)
Expand Down

0 comments on commit 4ea492f

Please sign in to comment.