INDENTS_QUERY

Constant INDENTS_QUERY 

Source
pub const INDENTS_QUERY: &str = "[\n  (class_declaration)\n  (function_declaration)\n  (enum_declaration)\n\n  (array)\n  (block)\n  (table)\n  (anonymous_function)\n  (parenthesized_expression)\n\n  (while_statement)\n  (switch_statement)\n  (for_statement)\n  (foreach_statement)\n  ; (try_statement)\n  (catch_statement)\n] @indent\n\n(\n  (if_statement)\n  (ERROR \"else\") @indent\n)\n\n(if_statement\n  condition: (_) @indent)\n\n(if_statement\n  consequence: (_)\n  (else_statement) @indent)\n\n(do_while_statement\n  \"do\"\n  (_) @indent)\n\n(try_statement\n  (_) @indent\n  (catch_statement) @indent)\n\n[ \"{\" \"}\" ] @branch\n\n[ \"(\" \")\" ] @branch\n\n[ \"[\" \"]\" ] @branch\n\n[\n  \"}\"\n  \")\"\n  \"]\"\n] @indent_end\n\n[\n  (ERROR)\n  (comment)\n\n  (string)\n  (verbatim_string)\n] @auto\n";
Expand description

The indents query for this language.