diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-26 01:31:45 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-26 01:31:45 +0800 |
commit | c78fbf09aa4406db905a8a0e6dd5731871f2c262 (patch) | |
tree | 50d1c7005f1ab879608a5738d626370e1a01ac70 /changelog.md | |
parent | ed64703ef9fec2b1c6736a0deb68bd567875a654 (diff) | |
download | lua-language-server-c78fbf09aa4406db905a8a0e6dd5731871f2c262.zip |
#1207
return names and parentheses can be used in `DocFunction`
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 7 |
1 files changed, 5 insertions, 2 deletions
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 |