vimrc/ftplugin/typescript.vim

5 lines
100 B
VimL

au BufWrite * :Autoformat
setlocal sw=2 ts=2
setlocal fdm=indent
setlocal smartindent
setlocal list