I want vim to highlight Swift syntax. The following is what I did. Firstly, I downloaded the Swift Language Repo:
git clone https://github.com/keith/swift.vim
Then I added the following line to my .vimrc file:
I tried to add path to swift.vim like this in .vimrc
But it does not work. So, question:
How to make vim highlight Swift code properly?
NOTE: I also use YouCompleteMe plugin.