" File ~/.vim/ftplugin/js.vim

setlocal cindent
setlocal smartindent
setlocal autoindent
setlocal ts=2
setlocal shiftwidth=2

" File ~/.vim/ftplugin/js.vim

source ~/.vim/ftplugin/all.vim

setlocal cindent
setlocal smartindent
setlocal autoindent
setlocal ts=2
setlocal shiftwidth=2

Use common settings in js config
[vim] Use common settings in js config

evgeny-p/dotfiles