From c78fbf09aa4406db905a8a0e6dd5731871f2c262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sun, 26 Jun 2022 01:31:45 +0800 Subject: #1207 return names and parentheses can be used in `DocFunction` --- changelog.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'changelog.md') diff --git a/changelog.md b/changelog.md index 20b73e9f..da028dec 100644 --- a/changelog.md +++ b/changelog.md @@ -30,8 +30,11 @@ ``` * `CHG` semicolons and parentheses can be used in `DocTable` ```lua - ---@type { x: fun():boolean; y: boolean } - ---@type { (x: fun():boolean), y: boolean } + ---@type { (x: number); (y: boolean) } + ``` +* `CHG` return names and parentheses can be used in `DocFunction` + ```lua + ---@type fun():(x: number, y: number, ...: number) ``` * `CHG` supports `---@return boolean ...` * `CHG` improve experience for diagnostics and semantic-tokens -- cgit v1.2.3