summaryrefslogtreecommitdiffstats
path: root/indent/terraform.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/terraform.vim')
-rw-r--r--indent/terraform.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/indent/terraform.vim b/indent/terraform.vim
index c035c216..4f536c48 100644
--- a/indent/terraform.vim
+++ b/indent/terraform.vim
@@ -10,11 +10,11 @@ let s:cpo_save = &cpoptions
set cpoptions&vim
setlocal nolisp
-setlocal autoindent shiftwidth=2 tabstop=2 softtabstop=2
+setlocal autoindent shiftwidth=2 tabstop=2 softtabstop=2 expandtab
setlocal indentexpr=TerraformIndent(v:lnum)
setlocal indentkeys+=<:>,0=},0=)
let b:undo_indent = 'setlocal lisp< autoindent< shiftwidth< tabstop< softtabstop<'
- \ . ' indentexpr< indentkeys<'
+ \ . ' expandtab< indentexpr< indentkeys<'
let &cpoptions = s:cpo_save
unlet s:cpo_save