summaryrefslogtreecommitdiff
path: root/changelog.md
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-02 17:20:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-02 17:20:28 +0800
commit9a25855cee5238a870f366a2f9d096142b72cd5a (patch)
treef9d6dff6a4aa6d13109c0c9c3f0b77fcf9c98882 /changelog.md
parent0ba04868b6bed5c213cb0f7e3d732ce59bf930f0 (diff)
downloadlua-language-server-9a25855cee5238a870f366a2f9d096142b72cd5a.zip
reslove #460
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index bf52362f..3b2a029c 100644
--- a/changelog.md
+++ b/changelog.md
@@ -3,6 +3,16 @@
## 2.1.0
* `NEW` supports local config file, using `--configpath="config.json"`, [learn more here](https://github.com/sumneko/lua-language-server/wiki/Setting-without-VSCode)
* `NEW` goto `type definition`
+* `NEW` infer type by callback param:
+ ```lua
+ ---@param callback fun(value: string)
+ local function work(callback)
+ end
+
+ work(function (value)
+ -- value is string here
+ end)
+ ```
* `CHG` [#549](https://github.com/sumneko/lua-language-server/issues/549)
* `CHG` diagnostics: always ignore the ignored files even if they are opened
* `FIX` completion: `type() ==` may does not work