cohama / lexima.vim

Auto close parentheses and repeat by dot dot dot...
996 stars 46 forks source link

Syntax blacklisting #29

Closed cpixl closed 2 years ago

cpixl commented 8 years ago

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).

cohama commented 2 years ago

Please use except. See :help lexima-rules-except.