Skip to content

Commit 5ddc70d

Browse files
committed
2.1.0
1 parent f8187e1 commit 5ddc70d

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

changelog.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# changelog
22

3+
## 2.1.0
4+
`2021-7-2`
5+
* `NEW` supports local config file, using `--configpath="config.json"`, [learn more here](https://github.com/sumneko/lua-language-server/wiki/Setting-without-VSCode)
6+
* `NEW` goto `type definition`
7+
* `NEW` infer type by callback param:
8+
```lua
9+
---@param callback fun(value: string)
10+
local function work(callback)
11+
end
12+
13+
work(function (value)
14+
-- value is string here
15+
end)
16+
```
17+
* `NEW` optional field `---@field name? type`
18+
* `CHG` [#549](https://github.com/sumneko/lua-language-server/issues/549)
19+
* `CHG` diagnostics: always ignore the ignored files even if they are opened
20+
* `FIX` completion: `type() ==` may does not work
21+
322
## 2.0.5
423
`2021-7-1`
524
* `NEW` `hover` and `completion` reports initialization progress

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,5 +1405,5 @@
14051405
"type": "git",
14061406
"url": "https://github.com/sumneko/lua-language-server"
14071407
},
1408-
"version": "2.0.5"
1408+
"version": "2.1.0"
14091409
}

package/build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local json = require 'json-beautify'
22

3-
local VERSION = "2.0.5"
3+
local VERSION = "2.1.0"
44

55
local package = require 'package.package'
66
local fsu = require 'fs-utility'

server

0 commit comments

Comments
 (0)