Всем привет!
Подскажите, как в vim сделать так, чтобы у html-файлов не было авто-отступа, а у остальных типов файлов он остался?
Сейчас в .vimrc:
filetype plugin indent on
set shiftwidth=4
set tabstop=4
" Put these in an autocmd group, so that we can delete them easily.
augroup vimrcEx
au!
" For all text files set 'textwidth' to 78 characters.
autocmd FileType text setlocal textwidth=78
Пытаюсь добавить что-то типа:
autocmd FileType html setlocal indent off
Но не работает. А как надо?