Skip to content

Commit 4e68482

Browse files
committed
1.19.0
1 parent 4757d20 commit 4e68482

File tree

6 files changed

+42
-5
lines changed

6 files changed

+42
-5
lines changed

changelog.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,51 @@
11
# changelog
22

33
## 1.19.0
4+
`2021-3-18`
45
* `NEW` VSCode: new setting `Lua.misc.parameters`
56
* `NEW` new setting `Lua.runtime.builtin`, used to disable some built-in libraries
67
* `NEW` quick fix: disable diagnostic in line/file
8+
* `NEW` setting: `Lua.runtime.path` supports absolute path
9+
* `NEW` completion: field in table
10+
```lua
11+
---@class A
12+
---@field x number
13+
---@field y number
14+
---@field z number
15+
16+
---@type A
17+
local t = {
18+
-- provide `x`, `y` and `z` here
19+
}
20+
```
21+
* `NEW` `LuaDoc`: supports multi-line comment before resume
22+
```lua
23+
---this is
24+
---a multi line
25+
---comment
26+
---@alias XXXX
27+
---comment 1
28+
---comment 1
29+
---| '1'
30+
---comment 2
31+
---comment 2
32+
---| '2'
33+
34+
---@param x XXXX
35+
local function f(x)
36+
end
37+
38+
f( -- view comments of `1` and `2` in completion
39+
```
740
* `CHG` intelli-scense: search from generic param to return
41+
* `CHG` intelli-scense: search across vararg
842
* `CHG` text-document-synchronization: refactored
943
* `CHG` diagnostic: improve `newline-call`
44+
* `CHG` completion: improve `then .. end`
45+
* `CHG` improve initialization speed
1046
* `CHG` improve performance
1147
* `FIX` missed syntax error `function m['x']() end`
48+
* `FIX` [#452](https://github.com/sumneko/lua-language-server/issues/452)
1249

1350
## 1.18.1
1451
`2021-3-10`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1378,5 +1378,5 @@
13781378
"type": "git",
13791379
"url": "https://github.com/sumneko/lua-language-server"
13801380
},
1381-
"version": "1.18.1"
1381+
"version": "1.19.0"
13821382
}

package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@
5656
"config.workspace.preloadFileSize": "Skip files larger than this value (KB) when preloading.",
5757
"config.workspace.useGitIgnore": "Ignore files list in `.gitignore` .",
5858
"config.zzzzzz.cat": "DONT TOUCH ME, LET ME SLEEP >_<"
59-
}
59+
}

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 = "1.18.1"
3+
local VERSION = "1.19.0"
44

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

server

setting/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,4 +1300,4 @@
13001300
},
13011301
"title": "setting",
13021302
"type": "object"
1303-
}
1303+
}

0 commit comments

Comments
 (0)