dotfiles/vim/.vim/ftplugin/html.vim
Akemi Izuko de244f9ea7
Init again
The dotfiles are back
2023-12-23 20:13:47 -07:00

15 lines
407 B
VimL

" HTML ===================================================
" By default, vim loads this for markdown files too
if (&filetype !=# "markdown") && (&filetype !=# "javascript")
iabbrev <buffer> #! <!DOCTYPE html>
iabbrev <buffer> initmodeline # vim: set ft=html ff=unix:
" Indents of 2 instead of default 4
setlocal tabstop=2
setlocal softtabstop=2
setlocal shiftwidth=2
endif
" vim: set ft=vim ff=unix: