aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/python/indents.scm
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-07-01 10:16:16 +0000
committerBlaž Hrastnik2022-07-01 10:17:19 +0000
commit9ae70cc410bd042b5cf119c571db323436caf08b (patch)
treef4c3966d49187dd011d5491251cde52881d36bba /runtime/queries/python/indents.scm
parentd8abd1eaf398f462122efbc937cda9d8178a5754 (diff)
Disable tree-sitter python indents, use fallback for now
There's been a lot of complaints about the state of python indentation and the fallback actually works better until the solution proposed in https://github.com/helix-editor/helix/issues/763#issuecomment-1137894973= is implemented.
Diffstat (limited to 'runtime/queries/python/indents.scm')
-rw-r--r--runtime/queries/python/indents.scm38
1 files changed, 0 insertions, 38 deletions
diff --git a/runtime/queries/python/indents.scm b/runtime/queries/python/indents.scm
deleted file mode 100644
index 810ff52f..00000000
--- a/runtime/queries/python/indents.scm
+++ /dev/null
@@ -1,38 +0,0 @@
-[
- (list)
- (tuple)
- (dictionary)
- (set)
-
- (if_statement)
- (for_statement)
- (while_statement)
- (with_statement)
- (try_statement)
- (import_from_statement)
-
- (parenthesized_expression)
- (generator_expression)
- (list_comprehension)
- (set_comprehension)
- (dictionary_comprehension)
-
- (tuple_pattern)
- (list_pattern)
- (argument_list)
- (parameters)
- (binary_operator)
-
- (function_definition)
- (class_definition)
-] @indent
-
-[
- ")"
- "]"
- "}"
- (return_statement)
- (pass_statement)
- (raise_statement)
-] @outdent
-