1
0
mirror of https://github.com/xlogerais/config-vim synced 2024-11-10 00:21:41 +01:00

Updated vimrc for filetype detection

This commit is contained in:
Xavier Logerais (Numericable - Ingénierie Système) 2015-03-02 11:40:01 +01:00
parent b8ce591496
commit b8d762dc6e

6
vimrc
View File

@ -91,9 +91,9 @@ setlocal spelllang=fr
" ------[ Gestion des types de fichiers ] ---------------------------------------------- " ------[ Gestion des types de fichiers ] ----------------------------------------------
" Automatically detect file types. filetype on " Enable filetype detection
filetype on filetype indent on " Enable filetype-specific indenting
filetype indent on filetype plugin on " Enable filetype-specific plugins
"misc "misc
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS