summaryrefslogtreecommitdiffstats
path: root/autoload/terraform.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-11-18 20:33:42 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-11-18 20:33:42 +0100
commitc228e993ad6a8b79db5a5a77aecfdbd8e92ea31f (patch)
treed446251a71a681285c17b5fb000b0d3b1090ef2c /autoload/terraform.vim
parentda18fe6851e95e146016f7abd2f799056e074cd9 (diff)
downloadvim-polyglot-c228e993ad6a8b79db5a5a77aecfdbd8e92ea31f.tar.gz
vim-polyglot-c228e993ad6a8b79db5a5a77aecfdbd8e92ea31f.zip
Update
Diffstat (limited to 'autoload/terraform.vim')
-rw-r--r--autoload/terraform.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/terraform.vim b/autoload/terraform.vim
index 647ee722..652c4b30 100644
--- a/autoload/terraform.vim
+++ b/autoload/terraform.vim
@@ -20,7 +20,7 @@ function! terraform#fmt() abort
let tmpfile = tempname()
let shellredir_save = &shellredir
let &shellredir = '>%s 2>'.tmpfile
- silent execute '%!terraform fmt -no-color -'
+ silent execute '%!'.g:terraform_binary_path.' fmt -no-color -'
let &shellredir = shellredir_save
" If there was an error, undo any changes and show stderr.