Question: I'm using the bash and vim that come with msysgit. I've added the `.vimrc` file to my home folder and most of the commands there are executing. But `syntax on` is not.

This is the contents of my `~/.vimrc` file:

```
set cul
hi CursorLine cterm=none ctermbg=darkgray ctermfg=white
syntax on

```

The current line and highlighting is now working, but the `syntax on` is failing. Msysgit installs it's own vim and in the `C:\Program Files (x86)\Git\share\vim\vim73\syntax` folder, it does not contain a bash.vim or sh.vim file. Other files are in there like conf.vim, gitcommit.vim and gitrebase.vim - even c.vim.

I'm guessing this is why there is no highlighting. Given that I can't touch that folder (don't ask), how can I change my .vimrc file to load up a bash.vim file - and what's a good place to get one?

Any help is appreciated.

Answer: 
Have you tried enabling the filetype plugin?

```
:filetype plugin on

```

Then, if your script syntax still doesn't colorize properly, try manual override:

```
:set ft=sh

```
In my case deleting everything in ~/.vim/view helped. I had `mkview` under `autocmd`, so when I did not shut down vim and bash properly, I think some files got corrupted. I found this problem by moving the files that were giving me trouble in another directory and finding out that vim had no problem showing their syntax properly.