Akshay Hegde
91cc1e63cb
Improve highlighting of #available condition
...
Conforming to Xcode, the syntax file now highlights platforms contained
within the `#available` condition.
It also now removes highlighting numbers and the "*" (i.e, symbol for
future platforms) that are contained within the `#available` condition
since they are not literal numbers or operator (thanks to @acclissold
for the idea)
Additionally, add tests to example.swift to demonstrate highlighting of
them.
References #56
2015-09-07 00:57:11 -07:00
Keith Smiley
73283a19b0
Fix some indentation issues
2014-10-22 13:48:09 -07:00
Keith Smiley
1acdb2f128
Fix square bracket indents
2014-08-24 18:35:48 -07:00
Keith Smiley
edcbcd7bcb
Syntax updates
2014-08-24 17:42:02 -07:00
Keith Smiley
b0f447f9db
Add type example
2014-08-17 08:04:41 -07:00
Keith Smiley
d7fd8e73d0
Give up aligning by colons
...
Instead align to the opening paren
2014-08-16 15:21:58 -07:00
Keith Smiley
7e0eb6d668
Fix nested parens in multiline declarations
...
Fixes #19 I hope
2014-08-16 14:39:43 -07:00
Keith Smiley
1ffd1454a4
Indent multi line paren stuff
...
Fixes #19
2014-08-16 14:18:23 -07:00
Keith Smiley
fdb1ac8e71
Fix indenting with ==
...
Closes #16
2014-08-16 13:52:10 -07:00
Keith Smiley
9a31e2fbfc
Example for
...
https://github.com/Keithbsmiley/swift.vim/pull/15
2014-08-14 08:54:08 -07:00
Keith Smiley
bcc90ad493
Fix indented block comments
...
Closes #13
2014-08-04 10:49:35 -07:00
Keith Smiley
0b3fdad8b1
Multi line comment folding
2014-08-04 10:45:05 -07:00
Keith Smiley
b816d9a6d5
Comment spell checking
2014-08-04 10:42:54 -07:00
Keith Smiley
e18dcdfba8
Add swift preprocessor stuff
...
Closes #10
2014-08-03 15:18:57 -07:00
Keith Smiley
44f055d446
Add exponential number types
2014-06-27 23:19:09 -07:00
Keith Smiley
f22b1e26e8
Add string interpolated function call example
2014-06-16 09:35:30 -07:00
Keith Smiley
f16e20650b
Add examples of attributes
2014-06-15 20:38:57 -07:00
Keith Smiley
4fdea6f297
Add nested multiline comment example
2014-06-15 20:10:55 -07:00
Keith Smiley
a34e24316f
Colon alignment example
2014-06-15 12:29:23 -07:00
Keith Smiley
9a544433ac
Example of string arguments
2014-06-15 11:40:47 -07:00
Keith Smiley
48676bfa73
Fix ! operator coloring
2014-06-14 12:42:53 -07:00
Keith Smiley
6e6f5a35fb
Add interpolated string example
2014-06-13 18:58:20 -07:00
Keith Smiley
72f0d73b91
Fix generics highlighting
2014-06-13 17:00:54 -07:00
Keith Smiley
9625b90924
Examples
2014-06-13 16:32:46 -07:00
Keith Smiley
90a37957d1
Examples
2014-06-13 15:33:10 -07:00
Keith Smiley
90aac73da9
Add literal and operator examples
2014-06-13 13:16:35 -07:00
Keith Smiley
79390292ac
Add an example script
2014-06-13 11:45:22 -07:00