Closed 0az closed 1 year ago
PR comments addressed.
I think I'm okay with this, though running the formatter twice is not ideal.
Yeah, a better solution might be checking &modified || ! &modifiable
, but that has its own complexities…
well, we'll see if anyone complains. Thanks!
This is a hack, but this keeps
terraform#fmt
from settingmodified
unnecessarily.A non-robust alternate implementation from my vimrc before I installed vim-terraform is as follows: