Commit Graph

21 Commits

Author SHA1 Message Date
Zach Panzarino
e3a4147ac9 Update copyright date 2015-12-31 23:28:40 +00:00
Michael Gottesman
97811fe6ac Merge pull request #345 from wiruzx/patch-1
[swift-mode.el] Add `lazy` keyword to font-lock-keyword-face
2015-12-16 23:32:02 -06:00
Victor Shamanov
a5bd00e676 Add lazy keyword to font-lock-keyword-face 2015-12-08 15:35:59 +03:00
Yasuyuki Hisamatsu
d62dd05a4e [swift-mode.el] Add "default" to swift-font-lock-keywords 2015-12-07 19:38:07 +09:00
Daniel Dunbar
ae1b2c362b [utils/swift-mode] Allow customization of Swift indentation offset.
Swift SVN r32578
2015-10-09 19:32:29 +00:00
Michael Gottesman
60991792b3 [swift-mode] Use mapc instead of mapcar since it is more canonical.
mapc is meant to be used in situations where you are performing a map only for
the purposes of side-effects. Also silences a warning while compiling.

Swift SVN r32406
2015-10-02 21:15:33 +00:00
Dave Abrahams
22bb16cfa5 [emacs support] Resilient indenting
Strange situations could cause it to compute negative column numbers,
which was triggering errors.

Swift SVN r29858
2015-07-01 22:51:36 +00:00
Dave Abrahams
c743842090 [emacs support] Deal with playground //: comments
Swift SVN r29293
2015-06-04 04:29:52 +00:00
Adrian Prantl
e309586c83 swift-mode.el: add "throws" and "catch".
Swift SVN r29240
2015-06-02 18:08:02 +00:00
Chris Lattner
35c55f3916 help out poor emacs users with 'guard'.
Swift SVN r28250
2015-05-07 00:42:12 +00:00
Adrian Prantl
3382f06428 Add throw and try to swift-mode.el.
Swift SVN r28230
2015-05-07 00:29:49 +00:00
Chris Lattner
c6aa041fb9 Add parser/ast/sema/sourcekit/etc support for 'unless' statement.
SILGen support still missing.



Swift SVN r27961
2015-04-30 05:55:11 +00:00
Chris Willmore
c7c7388cf2 Change do-while to repeat-while.
Change all uses of "do { ... } while <cond>" to use "repeat" instead.
Rename DoWhileStmt to RepeatWhileStmt. Add diagnostic suggesting change
of 'do' to 'repeat' if a condition is found afterwards.

<rdar://problem/20336424> rename do/while loops to repeat/while & introduce "repeat <count> {}" loops

Swift SVN r27650
2015-04-23 22:48:31 +00:00
Adrian Prantl
538f459dc6 swift-mode: add override to the list of keywords
Swift SVN r23287
2014-11-12 22:58:08 +00:00
Adrian Prantl
e3400d6aad swift-mode.el: Add "private" "public" "internal" to the list of keywords.
Swift SVN r21914
2014-09-12 18:18:47 +00:00
Adrian Prantl
ec8acc1aa0 swift-mode.el: remove val from the list of keywords.
Swift SVN r21913
2014-09-12 18:18:46 +00:00
Dave Abrahams
0ee72a7b9c [emacs-support] dedent to column 0 for # directive
Swift SVN r21495
2014-08-27 23:34:38 +00:00
Dave Abrahams
eee8f1b632 [emacs support] swift-mode.el: adjust for ` and '
' is no longer a quotation character

` is a quotation character for use in ReST documentation comments, and
should be inserted in pairs in electric-pair-mode

Swift SVN r20556
2014-07-25 20:16:48 +00:00
Dave Abrahams
eab43d72d6 [emacs support] swift-mode: support break labels
Also use it to fix indentation in Arrays.swift.gyb

Swift SVN r18507
2014-05-21 20:08:26 +00:00
Ted Kremenek
fad874708e Adjust test cases.
Swift SVN r17964
2014-05-12 22:01:52 +00:00
Daniel Dunbar
2cf4a5395c Add a primitive swift emacs mode.
- Not very complete, and has some problems with ambiguities between variables
   and types, among countless other things no doubt.

Swift SVN r2382
2012-07-20 19:34:48 +00:00