a_z3hw
Last Updated: February 25, 2016
·
786
· amirtcheva

Typescript indentation in Vim

Adding this to the .vimrc file fixed all indentation issues:

setlocal autoindent
setlocal cindent
setlocal smartindent
set expandtab 
set shiftwidth=2