Instantly share code, notes, and snippets.
I was testing it with Windows + Vim 7.4. ~/.vim/filetype.vim was not working.
Correct location was ~/.vimrc file
Thank you a lot for useful hint.
worked a charm, thank you.
Simple yet effective. Thanks.
worked for me . Put it in .vimrc in mac. thanks :)
the gift that keeps on giving for vim novices!
worked in .vimrc
If the above doesn't work for you (it didn't for me), it may be worth trying one of the originals from vimscripts.org: https://bitbucket.org/sw-samuraj/vim-gradle.