Skip to content

Instantly share code, notes, and snippets.

@mgrider mgrider/vim-swift-setup.sh forked from jlehikoinen/setup.sh
Last active Oct 10, 2019

Embed
What would you like to do?
Swift syntax highlighting for Vim
# Swift syntax highlighting for Vim
# Original Source: http://wingsquare.com/blog/swift-script-syntax-highlighting-and-indentation-for-vim-text-editor/
# Another helpful article: https://billyto.github.io/blog/swift-syntax-vim
# More about Vim packages: http://vimcasts.org/episodes/packages/
echo "--- creating ~/.vim/pack/bundle/start dir.."
mkdir -p ~/.vim/pack/bundle/start
echo "--- Cloning Apple's Swift repo.."
git clone https://github.com/apple/swift/
echo "--- Copying plugin to Vim bundles.."
cp -r ./swift/utils/vim ~/.vim/pack/bundle/start/swift
echo "--- Cleaning up, removing swift repo.."
rm -rf ./swift/
@alexwal

This comment has been minimized.

Copy link

alexwal commented Aug 31, 2019

Errors because ~/.vim/bundle/start/swift != ~/.vim/pack/bundle/start

@mgrider

This comment has been minimized.

Copy link
Owner Author

mgrider commented Sep 5, 2019

Errors because ~/.vim/bundle/start/swift != ~/.vim/pack/bundle/start

D'oh! (Fixed.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.