mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Create indents.scm for python
This commit is contained in:
parent
e602f1b22b
commit
c200de65aa
1 changed files with 14 additions and 0 deletions
14
queries/python/indents.scm
Normal file
14
queries/python/indents.scm
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
(function_definition)
|
||||
(if_statement)
|
||||
(with_statement)
|
||||
(try_statement)
|
||||
(for_statement)
|
||||
(for_in_clause)
|
||||
(class_definition)
|
||||
] @indent
|
||||
|
||||
[
|
||||
"elif"
|
||||
"else"
|
||||
] @branch
|
||||
Loading…
Add table
Add a link
Reference in a new issue