Skip to content

Commit 9d99034

Browse files
authored
Update CHANGELOG.md
1 parent d7a99f4 commit 9d99034

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,21 @@
77
**Improvements:**
88

99
- Upgrade to `[email protected]` (see changes [here](https://github.com/rescript-lang/rescript-vscode/blob/master/CHANGELOG.md#107))
10-
- Please note that auto-completetion for `@` / `->` / `~` is not implemented yet
10+
- Includes autocompletion for `->` / `~` (labeled arguments).
11+
12+
Example:
13+
14+
```res
15+
let l = Belt.List.make(3, 1)
16+
l-> //starting here, you will get suggestions for functions that accept a Belt.List.t
17+
18+
let test = (~name: string, ~age: int) => {
19+
Js.log2(name, age)
20+
}
21+
22+
test(~ // starting here, you will get suggestions for `name` and `age`
23+
```
24+
1125
- Improved syntax highlighting for polyvariants [#31](https://github.com/rescript-lang/vim-rescript/pull/31)
1226

1327
**Bugfixes:**

0 commit comments

Comments
 (0)