John Sundell
|
187effae29
|
DeclarationTests: Nitpicky code style fixes
|
2018-08-28 13:23:04 +02:00 |
|
wangchi
|
c1465b0a65
|
added “defer” as a keyword
|
2018-08-28 16:06:43 +08:00 |
|
John Sundell
|
ac9b512013
|
Don’t highlight keywords when used as a parameter label
Most keywords can be used as parameter labels, such as “for” or “in”, but
they shouldn’t be highlighted in that context.
|
2018-08-27 19:01:57 +02:00 |
|
John Sundell
|
1faa928214
|
Correctly highlight subscript declarations
This patch fixes syntax highlighting when declaring
a subscript:
```
struct MyStruct {
subscript(key: Key) -> Value? {
…
}
}
```
|
2018-08-27 18:32:22 +02:00 |
|
John Sundell
|
8645db8de0
|
Initial commit
|
2018-08-24 18:42:07 +02:00 |
|