mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Bump tree-sitter-sql (#9634)
This commit is contained in:
parent
38484f33e5
commit
ec9efdef3b
@ -1825,7 +1825,7 @@ injection-regex = "sql"
|
|||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "sql"
|
name = "sql"
|
||||||
source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "25be0b8f17e9189ad9e1b875869d025c5aec1286" }
|
source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "da2d1eff425b146d3c8cab7be8dfa98b11d896dc" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "gdscript"
|
name = "gdscript"
|
||||||
|
@ -24,20 +24,20 @@
|
|||||||
(term
|
(term
|
||||||
alias: (identifier) @variable.parameter)
|
alias: (identifier) @variable.parameter)
|
||||||
|
|
||||||
(term
|
((term
|
||||||
value: (cast
|
value: (cast
|
||||||
name: (keyword_cast) @function.builtin
|
name: (keyword_cast) @function.builtin
|
||||||
parameter: [(literal)]?))
|
parameter: [(literal)]?)))
|
||||||
|
|
||||||
(literal) @string
|
(literal) @string
|
||||||
(comment) @comment.line
|
(comment) @comment.line
|
||||||
(marginalia) @comment.block
|
(marginalia) @comment.block
|
||||||
|
|
||||||
((literal) @constant.numeric.integer
|
((literal) @constant.numeric.integer
|
||||||
(#match? @constant.numeric.integer "^-?\\d+$"))
|
(#match? @constant.numeric.integer "^[-+]?\\d+$"))
|
||||||
|
|
||||||
((literal) @constant.numeric.float
|
((literal) @constant.numeric.float
|
||||||
(#match? @constant.numeric.float "^-?\\d*\\.\\d*$"))
|
(#match? @constant.numeric.float "^[-+]?\\d*\\.\\d*$"))
|
||||||
|
|
||||||
(parameter) @variable.parameter
|
(parameter) @variable.parameter
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user