diff options
Diffstat (limited to 'queries/python')
| -rw-r--r-- | queries/python/injections.scm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/queries/python/injections.scm b/queries/python/injections.scm index db966e6ca..04d0eed1f 100644 --- a/queries/python/injections.scm +++ b/queries/python/injections.scm @@ -5,22 +5,4 @@ (#eq? @_re "re") (#lua-match? @regex "^r.*")) -; Module docstring -((module . (expression_statement (string) @rst)) - (#offset! @rst 0 3 0 -3)) - -; Class docstring -((class_definition - body: (block . (expression_statement (string) @rst))) - (#offset! @rst 0 3 0 -3)) - -; Function/method docstring -((function_definition - body: (block . (expression_statement (string) @rst))) - (#offset! @rst 0 3 0 -3)) - -; Attribute docstring -(((expression_statement (assignment)) . (expression_statement (string) @rst)) - (#offset! @rst 0 3 0 -3)) - (comment) @comment |
