swift-emacs / swift-mode

Emacs support for Apple's Swift programming language.
GNU General Public License v3.0
370 stars 47 forks source link

Swift 2 support #126

Closed taku0 closed 8 years ago

taku0 commented 8 years ago

I have updated my old implementation #74 to support Swift 2.1 syntax #96 #125.

This patch also fixes #85 #59 #72 #35, like #117.

Tested with Emacs 24.5.2. All tests are passed with some cheating. I modified some tests a bit.

I don't expect you to merge this large complex patch. Please copy some parts not related to indentation if you like. I'm sorry for that you cannot cherry-pick simply because I have fixed both highlighting and indentation (or even worse, multiple issues) in same commit. I should have splited commits into those related to indentation and others, and made separate PRs.

ap4y commented 8 years ago

Hey @taku0, thanks for the PR. I been doing the same slowly in my local branch too, will try to cherry-pick from your branch.