You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Louis Maddox edited this page Jun 18, 2021
·
1 revision
To get Swift syntax highlighting on Linux, clone the
Swift repo (e.g. into ~/opt) and then copy over the
vim utils to your Pathogen bundle directory et voila
I suggest renaming the "vim" directory to "swift" when you do so
cd~/opt
git clone git@github.com:apple/swift.git
cp -r swift/utils/vim ~/.vim/bundle
cd~/.vim/bundle
mv vim swift
Now when you open a Swift file it'll be syntax highlighted