summaryrefslogblamecommitdiffstats
path: root/indent/hcl.vim
blob: 855afcb95cc0e6da1baf3a1367ba667d6b9cae8a (plain) (tree)
1
2
3
4
                                         

        
 










                                                                             
if has_key(g:polyglot_is_disabled, 'hcl')
  finish
endif

if exists('b:did_indent')
  finish
endif

let b:did_indent = 1

" cindent seems to work adequately with HCL's brace-y syntax
setlocal cindent

" don't de-indent comments (cindent treats them like preprocessor directives)
setlocal cinkeys-=0#