0
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.
I don't use graphical vim, what does ftplugin.vim do? I mean, it looks like it handles the filetypes... but that's just a guess. – icedwater – 2013-07-16T09:10:09.477
1There's no way this file would be missing from even the most basic installation. That's a problem in and of itself so you should ask another question and explain carefully where things are and how they ended up there. – romainl – 2013-07-16T09:17:33.130