diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-01-25 16:56:10 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-01-25 16:56:10 +0100 |
commit | 35ea4d2b9072594b6c0ccf87bde7978ed9f94755 (patch) | |
tree | e829bad239fea3150cd0963933f3e33214f069b4 /autoload/terraform.vim | |
parent | 967486dd716de860db3ef091a9dcb9cb65023534 (diff) | |
download | vim-polyglot-4.2.1.tar.gz vim-polyglot-4.2.1.zip |
Updatev4.2.1
Diffstat (limited to 'autoload/terraform.vim')
-rw-r--r-- | autoload/terraform.vim | 6 |
1 files changed, 6 insertions, 0 deletions
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 |