From 35ea4d2b9072594b6c0ccf87bde7978ed9f94755 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 25 Jan 2020 16:56:10 +0100 Subject: Update --- autoload/terraform.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'autoload/terraform.vim') diff --git a/autoload/terraform.vim b/autoload/terraform.vim index b156b6b9..dc96ce0a 100644 --- a/autoload/terraform.vim +++ b/autoload/terraform.vim @@ -1,5 +1,8 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'terraform') == -1 +let s:cpo_save = &cpoptions +set cpoptions&vim + " Ensure no conflict with arguments from the environment let $TF_CLI_ARGS_fmt='' @@ -61,4 +64,7 @@ function! terraform#commands(ArgLead, CmdLine, CursorPos) return join(l:commands, "\n") endfunction +let &cpoptions = s:cpo_save +unlet s:cpo_save + endif -- cgit v1.2.3