Closed jmcantrell closed 1 year ago
Weird, b99bc0e should have already addressed exactly this scenario
For some reason, I did not get that commit when I last pulled. It is expanding the tabs now, but they are expanded to the value of 'tabstop'
and not 'shiftwidth'
.
I'll open a new issue.
If a snippet file
foo.snip
contains something like (where<tab>
is a tab character):And the buffer contains (where
*
is the cursor position):And
'expandtab'
is set, the buffer will be the following after expansion:Where it should be (given a
'shiftwidth'
setting of4
: