Try ':filetype on'
Yakov
filetype on is already inside my mimrc.
In fact, I've made a special function for the different languages I use :
au BufEnter *.py exe Fpython()
function Fpython()
au FileType python source C:\Program Files\vim\vim70\scripts\python.vim
autocmd BufRead,BufNewFile *.py syntax on
autocmd BufRead,BufNewFile *.py set ai
filetype on
" les tabs sont des espaces pour Python:
au BufNewFile,BufRead *.py set expandtab
au BufNewFile,BufRead *.py set tabstop=4
au BufNewFile,BufRead *.py set shiftwidth=4
etc...
endfunction
Where do I go wrong ?