Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note on how to set up indentation in README #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ This is a copy of [Apple's Swift tools for Vim](https://github.com/apple/swift/t
It provides syntax highlighting for [gyb](https://github.com/jph00/gyb), SIL, and Swift files, and sets defaults for tab stops etc.

I've also added syntax highlighting for gyb templates for C and header files.

## Note
Indentation of 2 spaces is set by default, if you want to change it to 4 as is default in XCode just modify `/ftplugin/swift.vim` (which will be in `~/.vim/plugged/swift-apple/ftplugin/swift.vim` if you want to modify it after installing the plugin) and change `setlocal ts=4` & `setlocal sw=4` to `2`.