Skip to content

Commit

Permalink
feat(sql): Add UNSIGNED support, refactor numeric types
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoniePhiline committed Feb 18, 2023
1 parent 3c8b951 commit a564d8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
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 = "c508e6044adf4298d7b321f966c90cbe32d75d23" }
source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "2d1d5b68a1e11796dd0f4f068fc3e9d7e59fe9f7" }

[[language]]
name = "gdscript"
Expand Down
8 changes: 6 additions & 2 deletions runtime/queries/sql/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@
(keyword_like)
(keyword_similar)
(keyword_preserve)
(keyword_unsigned)
(keyword_zerofill)
] @keyword

[
Expand All @@ -196,9 +198,11 @@
(keyword_smallserial)
(keyword_serial)
(keyword_bigserial)
(keyword_smallint)
(keyword_int)

(tinyint)
(smallint)
(mediumint)
(int)
(bigint)
(decimal)
(numeric)
Expand Down

0 comments on commit a564d8d

Please sign in to comment.