More FileType entries for VIM.

This commit is contained in:
Andrey Parhomenko 2022-09-06 21:17:21 +05:00
parent 0927b08e58
commit 1ac0b0d6a0
2 changed files with 3 additions and 0 deletions

View file

@ -53,4 +53,5 @@ export_loop \
test -r $SETENV && . "$SETENV" && setenv profile
export GPG_TTY=$(tty)
export SSH_TTY=$(tty)

View file

@ -73,6 +73,8 @@
autocmd FileType javascriptreact setlocal expandtab shiftwidth=2 tabstop=2 softtabstop=0
autocmd FileType scss setlocal expandtab shiftwidth=2 tabstop=2 softtabstop=0
autocmd FileType css setlocal expandtab shiftwidth=2 tabstop=2 softtabstop=0
autocmd FileType html setlocal expandtab shiftwidth=2 tabstop=2 softtabstop=0
autocmd FileType htmldjango setlocal expandtab shiftwidth=2 tabstop=2 softtabstop=0
" Jump to the last pos.
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event handler