vim: augroup needs to be filetype not filetypedetect

This commit is contained in:
Paul Walker
2020-12-16 16:38:03 +00:00
parent 7864669e1d
commit 679e3edfc3

2
vimrc
View File

@@ -164,7 +164,7 @@ map ,t4 :echo TabSize(4)<CR>
map ,t8 :echo TabSize(8)<CR>
" Explicitly set certain filetypes.
augroup filetypedetect
augroup filetype
au!
au BufRead,BufNewFile *.S set filetype=c
au bufRead,BufNewFile *.cc set filetype=cpp