summaryrefslogtreecommitdiffstats
path: root/autoload/terraform.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-01 18:17:40 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-01 18:17:40 +0200
commitaf0eaee01737d26314c9c3618153e99d1eb3e2f1 (patch)
treee45903bbc85886dcb6568c1f3c3f867b2649f2ca /autoload/terraform.vim
parent730dcb02caab60a6ae5d8b4bdc16d290041061ec (diff)
downloadvim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.tar.gz
vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.zip
Update
Diffstat (limited to 'autoload/terraform.vim')
-rw-r--r--autoload/terraform.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/terraform.vim b/autoload/terraform.vim
index a1d2a06a..324b978d 100644
--- a/autoload/terraform.vim
+++ b/autoload/terraform.vim
@@ -40,7 +40,7 @@ function! terraform#align() abort
if exists(':Tabularize') && getline('.') =~# '^.*=' && (getline(line('.')-1) =~# p || getline(line('.')+1) =~# p)
let column = strlen(substitute(getline('.')[0:col('.')],'[^=]','','g'))
let position = strlen(matchstr(getline('.')[0:col('.')],'.*=\s*\zs.*'))
- Tabularize/=/l1
+ Tabularize/=.*/l1
normal! 0
call search(repeat('[^=]*=',column).'\s\{-\}'.repeat('.',position),'ce',line('.'))
endif
@@ -67,6 +67,7 @@ function! terraform#commands(ArgLead, CmdLine, CursorPos) abort
\ 'show',
\ 'state',
\ 'taint',
+ \ 'test',
\ 'untaint',
\ 'version',
\ 'workspace'