Add python/highlights.scm from tree-sitter-python

This commit is contained in:
Stephan Seitz 2020-05-16 19:24:27 +02:00
parent a5c50262d9
commit 57424533a7
2 changed files with 182 additions and 0 deletions

View file

@ -18,6 +18,12 @@
(function_definition
name: (identifier) @definition.function) @scope
;; Should be extended to when syntax supported
;(function_definition
;name: (identifier) @definition.function
;body: (block (expression_statement (string) @definition.function.doc)?)) @scope
(class_definition
name: (identifier) @definition.type) @scope