add terraform support

master
Jordan Orelli 7 years ago
parent b91d1dea66
commit f4c3b06453

@ -1,3 +1,3 @@
set shiftwidth=2 set shiftwidth=4
set tabstop=2 set tabstop=4
set expandtab set expandtab

@ -14,6 +14,7 @@ call vundle#begin()
Plugin 'slim-template/vim-slim' Plugin 'slim-template/vim-slim'
Plugin 'kchmck/vim-coffee-script' Plugin 'kchmck/vim-coffee-script'
Plugin 'fatih/vim-go' Plugin 'fatih/vim-go'
Plugin 'fatih/vim-hclfmt'
Plugin 'nanotech/jellybeans.vim' Plugin 'nanotech/jellybeans.vim'
Plugin 'ervandew/supertab' Plugin 'ervandew/supertab'
Plugin 'scrooloose/nerdcommenter' Plugin 'scrooloose/nerdcommenter'
@ -25,6 +26,7 @@ call vundle#begin()
Plugin 'ctrlpvim/ctrlp.vim' Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'itchyny/lightline.vim' Plugin 'itchyny/lightline.vim'
Plugin 'heavenshell/vim-jsdoc' Plugin 'heavenshell/vim-jsdoc'
Plugin 'hashivim/vim-terraform'
" Past plugins " Past plugins
" "
@ -162,6 +164,8 @@ if has("autocmd")
" on some machines md files are thought to be modula2 " on some machines md files are thought to be modula2
autocmd BufNewFile,BufRead *.md set filetype=markdown autocmd BufNewFile,BufRead *.md set filetype=markdown
autocmd BufNewFile,BufRead *.tf set filetype=terraform
" add Coloring for ChucK source " add Coloring for ChucK source
autocmd BufNewFile,BufRead *.ck set filetype=ck autocmd BufNewFile,BufRead *.ck set filetype=ck
@ -328,6 +332,10 @@ endif
let g:NERDTreeDirArrows = 1 let g:NERDTreeDirArrows = 1
" ---------------------------------------------------------------------------}}} " ---------------------------------------------------------------------------}}}
" terraform -----------------------------------------------------------------{{{
let g:terraform_align=1
" ---------------------------------------------------------------------------}}}
" Commenting ----------------------------------------------------------------{{{ " Commenting ----------------------------------------------------------------{{{
" left-align comment markers by default " left-align comment markers by default
let g:NERDDefaultAlign='left' let g:NERDDefaultAlign='left'

Loading…
Cancel
Save