hashivim/vim-terraform

terraform_fmt_on_save not working with in after/ftplugin/terraform.vim

Closed this issue · 1 comments

So, I can put a terraform.vim file in to:

  • ~/.config/nvim/ftplugin/terraform.vim

with the contents of:

let g:terraform_fmt_on_save=1

This works, but when I put it into:

  • ~/.config/nvim/after/ftplugin/terraform.vim

I see the script is loaded, but the format on save doesn't seem to work. Any ideas why?

no (and it works for me)

do report back if you figure it out, perhaps the next person will benefit