Closed jmcantrell closed 1 year ago
The following snippet:
? tag $ `{{` `}}` <{{name}}{{}}> {{+}} </{{~1}}>
Leaves the last line indented:
<foo disabled> text </foo>
I thought it might be autoindent, but turning that off didn't seem to affect it, and nothing seemed relevant in the formatoptions. Any ideas?
This is snippet for HTML, right? The default indentexpr for this filetype doesn't handle unknown/custom tag names very well
indentexpr
Ah, that makes sense
The following snippet:
Leaves the last line indented:
I thought it might be autoindent, but turning that off didn't seem to affect it, and nothing seemed relevant in the formatoptions. Any ideas?