hashivim / vim-terraform

basic vim/terraform integration
http://hashivim.github.io/vim-terraform
ISC License
1.07k stars 111 forks source link

automatic alignment does too much when we have blocks within blocks #164

Open dimbleby opened 3 years ago

dimbleby commented 3 years ago

105 improved matters, but still left this:

I have to work through the case where

tags = {
  thing = "whatever"
}

because currently it becomes

tags    = {
  thing = "whatever"
}

I don't use the Tabular integration myself and am unlikely to do anything about this, but merge requests that fix it would be welcome!