Keith Smiley
5404d287f6
Fix URL issues, add example
...
See #37
2015-04-18 10:39:51 -07:00
Keith Smiley
d11cae4af0
Remove swiftLiteralWrapper for now.
...
I could get this to work. The failed use case is this:
baseURL = "http://www.oaklandpostonline.com/search/?q&tarticle&c[]blogs *"
The start pattern matches the `=` right after baseURL and ends on `[]`
in the URL. I couldn't get this to ignore the swiftString type or ignore
if there was a quote right after the URL. Mainly everything is horrible.
Closes #37
2015-02-22 19:49:03 -06:00
Keith Smiley
e8b6f8243f
Merge pull request #34 from ajh17/swift-method-highlight
...
Add syntax highlighting for Swift methods.
2014-12-16 13:23:05 -08:00
Akshay Hegde
e1f922bb1b
Add syntax highlighting for swift methods.
2014-12-14 23:12:16 -08:00
Keith Smiley
f405c0d391
Fix * highlighting
...
Closes #33
2014-12-14 15:30:23 -08:00
Keith Smiley
a04e06aedc
Small cleanup
2014-12-13 11:58:31 -08:00
Keith Smiley
86ec27baed
Fix multi-line function declaration
2014-12-13 11:58:31 -08:00
Keith Smiley
b3a239bd87
Attempt indentkeys removal
2014-12-13 11:58:31 -08:00
Keith Smiley
f5ace28838
Remove brackets from indentkeys
...
This are handled already, this just moved them to the left a second time
when brackets were not auto inserted
2014-12-13 11:58:31 -08:00
Keith Smiley
a64f298efb
Remove logging
2014-12-13 11:58:31 -08:00
Keith Smiley
40746f1104
Cleanup a bit
2014-12-13 11:58:31 -08:00
Keith Smiley
f20ecf18ca
Case statements
2014-12-13 11:58:31 -08:00
Keith Smiley
2454d0d6a7
Handle square brackets
2014-12-13 11:58:30 -08:00
Keith Smiley
3ab34b1435
Moving away from cindent
2014-12-13 11:58:30 -08:00
Keith Smiley
f9a14e4e15
Working on indentation
2014-12-13 11:58:30 -08:00
Keith Smiley
b75c9d59d0
Add first syntastic checker
2014-12-09 11:53:14 -08:00
Keith Smiley
9931aa6fbe
Merge pull request #32 from Keithbsmiley/ks-comment-fix
...
Move comment pattern, update division operator
2014-12-08 19:27:04 -08:00
Keith Smiley
2d00be335b
Move comment pattern, update division operator
...
This fixes an issue where the beginning /* in a C-style block comment
was interpreted as an operator. I read somewhere in syntax.txt (I think)
that the order rules appear in the syntax definition file affects the
interpretation. This is one of those times. The comment block needs to
be after the operator definitions.
2014-12-07 16:04:34 -08:00
Keith Smiley
be757db8a8
Remove oneline argument from swiftString
...
This should fix the issue where, if you start a string which a single
non-matched quote, the string and interpolated string isn't highlighted
until the quote was closed. This seems like a bad idea since strings
only function when they are on a single line and this example:
"foo
" bar
highlights like they can spread over multiple lines. Where `bar` is
highlighted like a keyword and not part of an unclosed string. This is
also how ruby.vim does this so I assume this is the way to do it.
This fixes #28
2014-12-05 19:49:58 -08:00
Keith Smiley
cfa66353b1
Fixes curly braces in strings affecting indentation
...
Closes #25
2014-11-22 18:57:30 -08:00
Akshay Hegde
83b452558c
Add syntax highlighting for new swift attributes.
...
Source:
developer.apple.com/library/ios/documentation/swift/conceptual/Swift_Programming_Language/Attributes.html
2014-11-19 14:16:28 -08:00
Keith Smiley
0676b14283
Update readme
...
The vim plugin manager wars are too intense for keeping dedicated
snippets in each plugin's readme. User's should know how to install
plugins with their manager of choice. If not, provide an example. I
would prefer to send people to an up to date page about this.
Unfortunately I don't think this currently exists.
2014-11-17 15:43:04 -08:00
Keith Smiley
17d3475f58
Fix unrelated function issue
2014-10-22 13:54:31 -07:00
Keith Smiley
73283a19b0
Fix some indentation issues
2014-10-22 13:48:09 -07:00
Keith Smiley
aca200b29b
Read first line for shebang
2014-10-20 14:28:09 -07:00
Keith Smiley
21e44fa889
4 space indent
2014-08-30 10:24:13 -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
tokorom
48ffa96671
Fix the syntax for Type
2014-08-17 15:59:40 +09:00
Keith Smiley
7e27b83548
Revert "Remove completion function"
...
This reverts commit f32f915ecf .
2014-08-16 16:16:42 -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
a640cfdd1a
Fix previousNum comparison that was commented out
2014-08-16 14:21:32 -07:00
Keith Smiley
1ffd1454a4
Indent multi line paren stuff
...
Fixes #19
2014-08-16 14:18:23 -07:00
Keith Smiley
f32f915ecf
Remove completion function
...
Fixes #18
2014-08-16 14:02:49 -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
tokorom
bb44e71630
Fix swiftOperator syntax for / and *
2014-08-14 18:42:30 +09: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
dab9639426
Beta 5 updates
2014-08-04 10:23:49 -07:00
Keith Smiley
aff026d018
Add dynamic
2014-08-04 10:14:57 -07:00
Keith Smiley
e18dcdfba8
Add swift preprocessor stuff
...
Closes #10
2014-08-03 15:18:57 -07:00
Keith Smiley
127163d96a
Beta 4 @ changes
2014-08-03 15:10:54 -07:00
Keith Smiley
85e8f35557
Merge pull request #14 from alexander-manenko/patch-1
...
Add access modifiers
2014-08-03 11:30:36 -07:00
Oleksandr Manenko
6efaf375ee
Add access modifiers
2014-08-03 15:33:43 +03:00
Akshay Hegde
5a4685038b
Add syntax highlighting for 'convenience'
2014-07-01 23:22:49 -07:00
Keith Smiley
44f055d446
Add exponential number types
2014-06-27 23:19:09 -07:00