diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-06-21 16:32:25 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-06-24 10:07:22 +0200 |
| commit | dfead6cacab1a9f94396169166c9de8f8d4efdb7 (patch) | |
| tree | 396d87d86b04fb30d4d804cf17b2588a7541ea8a /queries/python/locals.scm | |
| parent | 51a52b85cf9fdc4d67619e0d71c57c1e6bb0f988 (diff) | |
Adapt Python highlights to new query syntax
Diffstat (limited to 'queries/python/locals.scm')
| -rw-r--r-- | queries/python/locals.scm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/queries/python/locals.scm b/queries/python/locals.scm index 73527166..cdf4d411 100644 --- a/queries/python/locals.scm +++ b/queries/python/locals.scm @@ -30,12 +30,8 @@ ; Function defines function and scope (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 + name: (identifier) @definition.function + body: (block (expression_statement (string) @definition.doc)?)) @scope (class_definition |
