Closed rsiwal closed 3 years ago
Here is the diff for the fix .
diff --git a/ftplugin/terraform.vim b/ftplugin/terraform.vim
index a59cfbf..657a9a1 100644
--- a/ftplugin/terraform.vim
+++ b/ftplugin/terraform.vim
@@ -60,6 +60,7 @@ if get(g:, 'terraform_fmt_on_save', 0)
autocmd!
autocmd BufWritePre *.tf call terraform#fmt()
autocmd BufWritePre *.tfvars call terraform#fmt()
+ autocmd BufWritePost *.tf redraw!
augroup END
endif
Sorry, I don't understand. What do you mean by "does not look good"?
Is this a terraform-specific thing, or do you want to raise an issue at the vim repository?
Per #167 closing this down: I don't think that this repository is the right place to fix whatever you're seeing. But do open a new one if I'm wrong.
Steps to reproduce:
Expected Result: Vim should redraw and terminal should look clean