Currently, I load my syntax manually in vim by :set filetype=python
.
Depending on what kind of file I'm working on, I change it manually. I think there should be a more smarter way. Probably some lines to be placed in my .vimrc file
Solution: I had all the standard lines such as:
syntax on
filetype plugin indent on
but the problem is actually the filetype not being recognized, I noticed that I needed a ftplugin.vim at my $VIMRUNTIME and this solves my problem.
Thanks for the help.