summaryrefslogtreecommitdiffstats
path: root/ftplugin/terraform.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-03-29 20:30:36 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-03-29 20:30:36 +0100
commita55b6aa3aa797c989a4979a13a5bd2ae11cfd4a5 (patch)
tree0ec7670cabfdf1b5fa3545cee9ee9d6ca7c8ad32 /ftplugin/terraform.vim
parent1d45a6d4f094127b113470d7710695b280224933 (diff)
downloadvim-polyglot-a55b6aa3aa797c989a4979a13a5bd2ae11cfd4a5.tar.gz
vim-polyglot-a55b6aa3aa797c989a4979a13a5bd2ae11cfd4a5.zip
Remove grapqhl, fixes #387v3.7.1
Diffstat (limited to 'ftplugin/terraform.vim')
-rw-r--r--ftplugin/terraform.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/terraform.vim b/ftplugin/terraform.vim
index e577c737..0ece8bf6 100644
--- a/ftplugin/terraform.vim
+++ b/ftplugin/terraform.vim
@@ -12,7 +12,7 @@ if exists("g:loaded_terraform") || v:version < 700 || &cp || !executable('terraf
endif
let g:loaded_terraform = 1
-if !exists("g:terraform_fmt_on_save")
+if !exists("g:terraform_fmt_on_save") || !filereadable(expand("%:p"))
let g:terraform_fmt_on_save = 0
endif