diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-10-16 14:56:00 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-10-16 14:56:00 +0200 |
commit | 199846c6d87c9ea60eb5f9f8f68e2d9ea4f02b2a (patch) | |
tree | 43a35af46ea780decdd9146601eef6af561cb14c /autoload/terraform.vim | |
parent | f95026252c5a31242903a98c741887696dfbb11f (diff) | |
download | vim-polyglot-199846c6d87c9ea60eb5f9f8f68e2d9ea4f02b2a.tar.gz vim-polyglot-199846c6d87c9ea60eb5f9f8f68e2d9ea4f02b2a.zip |
Update
Diffstat (limited to 'autoload/terraform.vim')
-rw-r--r-- | autoload/terraform.vim | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/autoload/terraform.vim b/autoload/terraform.vim index da36751e..b156b6b9 100644 --- a/autoload/terraform.vim +++ b/autoload/terraform.vim @@ -31,33 +31,34 @@ function! terraform#align() endif endfunction -function! terraform#commands(A, L, P) - return [ - \ 'apply', - \ 'console', - \ 'destroy', - \ 'env', - \ 'fmt', - \ 'get', - \ 'graph', - \ 'import', - \ 'init', - \ 'output', - \ 'plan', - \ 'providers', - \ 'refresh', - \ 'show', - \ 'taint', - \ 'untaint', - \ 'validate', - \ 'version', - \ 'workspace', - \ '0.12upgrade', - \ 'debug', - \ 'force-unlock', - \ 'push', - \ 'state' +function! terraform#commands(ArgLead, CmdLine, CursorPos) + let l:commands = [ + \ 'apply', + \ 'console', + \ 'destroy', + \ 'env', + \ 'fmt', + \ 'get', + \ 'graph', + \ 'import', + \ 'init', + \ 'output', + \ 'plan', + \ 'providers', + \ 'refresh', + \ 'show', + \ 'taint', + \ 'untaint', + \ 'validate', + \ 'version', + \ 'workspace', + \ '0.12upgrade', + \ 'debug', + \ 'force-unlock', + \ 'push', + \ 'state' \ ] + return join(l:commands, "\n") endfunction endif |