Open samhstn opened 5 years ago
When we open an elm file, I would like the number of indent spces to be 4 and when I open a js file, I would like the number of indent spaces to be 2.
elm
js
This is easily achieved with:
set sw=2 tabstop=2 autocmd BufRead,BufNewFile *.elm,*.py set sw=4 tabstop=4
When we open an
elm
file, I would like the number of indent spces to be 4 and when I open ajs
file, I would like the number of indent spaces to be 2.This is easily achieved with: