While the syntax option is really useful, currently it is not possible to set any "blacklisted" syntax, where the rule shouldn't apply.
It would be really helpful on code-specific situations e.g. the rule inputs a <cr> expecting the next line to become indented, but the rule shouldn't apply inside comments (where a <cr> would start the next line as the comment continuation or an <cr> on input_after... both probably breaking the indentation).
While the
syntax
option is really useful, currently it is not possible to set any "blacklisted" syntax, where the rule shouldn't apply.It would be really helpful on code-specific situations e.g. the rule inputs a
<cr>
expecting the next line to become indented, but the rule shouldn't apply inside comments (where a<cr>
would start the next line as the comment continuation or an<cr>
oninput_after
... both probably breaking the indentation).