on master help sign in
upgrade tree-sitter-python (#8976)

supports new syntaxes from Python 3.12

commitfcd564fddfa9b8f3fd7d02686e1f8b8a97a9f92b authorSkyler Hawthorne <skyler@dead10ck.com> dateMon 4 Dec 2023, 03:26 (3 years ago) parent455b206
2 files changed+7−1
languages.toml+1−1 runtime/queries/python/highlights.scm+6
languages.toml+1−1
@@ -697,7 +697,7 @@ indent = { tab-width = 4, unit = " " }
697697
698698[[grammar]]
699699name = "python"
700−source = { git = "https://github.com/tree-sitter/tree-sitter-python", rev = "de221eccf9a221f5b85474a553474a69b4b5784d" }
700+source = { git = "https://github.com/tree-sitter/tree-sitter-python", rev = "4bfdd9033a2225cc95032ce77066b7aeca9e2efc" }
701701
702702[[language]]
703703name = "nickel"
runtime/queries/python/highlights.scm+6
@@ -134,14 +134,17 @@
134134 "//="
135135 "/="
136136 "&"
137+ "&="
137138 "%"
138139 "%="
139140 "^"
141+ "^="
140142 "+"
141143 "->"
142144 "+="
143145 "<"
144146 "<<"
147+ "<<="
145148 "<="
146149 "<>"
147150 "="
@@ -150,8 +153,11 @@
150153 ">"
151154 ">="
152155 ">>"
156+ ">>="
153157 "|"
158+ "|="
154159 "~"
160+ "@="
155161] @operator
156162
157163[