mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-05 03:02:58 +03:00
upgrade tree-sitter-python (#8976)
supports new syntaxes from Python 3.12
This commit is contained in:
parent
455b206a8c
commit
fcd564fddf
@ -697,7 +697,7 @@ indent = { tab-width = 4, unit = " " }
|
|||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "python"
|
name = "python"
|
||||||
source = { git = "https://github.com/tree-sitter/tree-sitter-python", rev = "de221eccf9a221f5b85474a553474a69b4b5784d" }
|
source = { git = "https://github.com/tree-sitter/tree-sitter-python", rev = "4bfdd9033a2225cc95032ce77066b7aeca9e2efc" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "nickel"
|
name = "nickel"
|
||||||
|
@ -134,14 +134,17 @@
|
|||||||
"//="
|
"//="
|
||||||
"/="
|
"/="
|
||||||
"&"
|
"&"
|
||||||
|
"&="
|
||||||
"%"
|
"%"
|
||||||
"%="
|
"%="
|
||||||
"^"
|
"^"
|
||||||
|
"^="
|
||||||
"+"
|
"+"
|
||||||
"->"
|
"->"
|
||||||
"+="
|
"+="
|
||||||
"<"
|
"<"
|
||||||
"<<"
|
"<<"
|
||||||
|
"<<="
|
||||||
"<="
|
"<="
|
||||||
"<>"
|
"<>"
|
||||||
"="
|
"="
|
||||||
@ -150,8 +153,11 @@
|
|||||||
">"
|
">"
|
||||||
">="
|
">="
|
||||||
">>"
|
">>"
|
||||||
|
">>="
|
||||||
"|"
|
"|"
|
||||||
|
"|="
|
||||||
"~"
|
"~"
|
||||||
|
"@="
|
||||||
] @operator
|
] @operator
|
||||||
|
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user