summaryrefslogtreecommitdiff
path: root/changelog.md
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-29 21:17:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-29 21:17:15 +0800
commite44142d13914bc98a4f9af0029cfadbc16e222a4 (patch)
tree4c8aadc744e0a3ecc4be059a8e431870379c401f /changelog.md
parentf04887db153e16055d67d8a2febb5c3db8fc43c0 (diff)
downloadlua-language-server-e44142d13914bc98a4f9af0029cfadbc16e222a4.zip
resolve #632 `---@module 'moduleName'`
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/changelog.md b/changelog.md
index eaa3e8ed..96177af4 100644
--- a/changelog.md
+++ b/changelog.md
@@ -8,9 +8,9 @@
+ `Lua.completion.requireSeparator`
* `NEW` diagnostics:
+ `different-requires`
-* `NEW` supports `---@CustomClass<string, number>`
+* `NEW` `---@CustomClass<string, number>`
* `NEW` supports `$/cancelRequest`
-* `NEW` supports `EventEmitter`
+* `NEW` `EventEmitter`
```lua
--- @class Emit
--- @field on fun(eventName: string, cb: function)
@@ -28,6 +28,11 @@
-- should be s: string
end)
```
+* `NEW` `---@module 'moduleName'`
+ ```lua
+ ---@module 'mylib'
+ local lib -- the same as `local lib = require 'mylib'`
+ ```
* `CHG` hover: improve showing multi defines
* `CHG` hover: improve showing multi comments at enums
* `CHG` hover: shows method