diff options
| author | Evan <esn89@users.noreply.github.com> | 2020-12-16 09:42:48 -0800 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-12-18 16:42:05 +0100 |
| commit | c200de65aa40b1a30e9319f65877fa64cf75aa26 (patch) | |
| tree | a3cf2014e9ef82d1ad175ac41155e6a83a0c51b5 /queries/python/indents.scm | |
| parent | e602f1b22baf590b07c3a0d86fb69ae4405c1db7 (diff) | |
Create indents.scm for python
Diffstat (limited to 'queries/python/indents.scm')
| -rw-r--r-- | queries/python/indents.scm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/queries/python/indents.scm b/queries/python/indents.scm new file mode 100644 index 00000000..c1adc58b --- /dev/null +++ b/queries/python/indents.scm @@ -0,0 +1,14 @@ +[ + (function_definition) + (if_statement) + (with_statement) + (try_statement) + (for_statement) + (for_in_clause) + (class_definition) +] @indent + +[ + "elif" + "else" +] @branch |
