Skip to content

Commit c89e235

Browse files
committed
2.3.1
1 parent 54c3c78 commit c89e235

File tree

9 files changed

+41
-3
lines changed

9 files changed

+41
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ https://marketplace.visualstudio.com/items?itemName=sumneko.lua
1010

1111
![avatar](https://github.com/sumneko/vscode-lua/raw/master/images//Install%20In%20VSCode.gif)
1212

13+
## Change Log
14+
https://github.com/sumneko/lua-language-server/blob/master/changelog.md
15+
1316
## Feature
1417

1518
- [x] Goto Definition

changelog.md

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

3+
## 2.3.1
4+
`2021-7-19`
5+
* `NEW` setting `Lua.workspace.userThirdParty`, add private user [third-parth](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd) by this setting
6+
* `CHG` path in config supports `~/xxxx`
7+
* `FIX` `autoRequire` inserted incorrect code
8+
* `FIX` `autoRequire` may provide dumplicated options
9+
* `FIX` [#606](https://github.com/sumneko/lua-language-server/issues/606)
10+
* `FIX` [#607](https://github.com/sumneko/lua-language-server/issues/607)
11+
312
## 2.3.0
413
`2021-7-16`
514
* `NEW` `VSCode`: click the status bar icon to operate:

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,6 +1345,14 @@
13451345
"markdownDescription": "%config.workspace.useGitIgnore%",
13461346
"scope": "resource",
13471347
"type": "boolean"
1348+
},
1349+
"Lua.workspace.userThirdParty": {
1350+
"items": {
1351+
"type": "string"
1352+
},
1353+
"markdownDescription": "%config.workspace.userThirdParty%",
1354+
"scope": "resource",
1355+
"type": "array"
13481356
}
13491357
},
13501358
"title": "Lua",
@@ -1411,5 +1419,5 @@
14111419
"type": "git",
14121420
"url": "https://github.com/sumneko/lua-language-server"
14131421
},
1414-
"version": "2.3.0"
1422+
"version": "2.3.1"
14151423
}

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,6 @@
5959
"config.workspace.maxPreload": "Max preloaded files.",
6060
"config.workspace.preloadFileSize": "Skip files larger than this value (KB) when preloading.",
6161
"config.workspace.useGitIgnore": "Ignore files list in `.gitignore` .",
62+
"config.workspace.userThirdParty": "Add private third-party library configuration file paths here, please refer to the built-in [configuration file path](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)",
6263
"config.zzzzzz.cat": "DONT TOUCH ME, LET ME SLEEP >_<"
6364
}

package.nls.zh-cn.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"config.workspace.maxPreload": "最大预加载文件数。",
6363
"config.workspace.preloadFileSize": "预加载时跳过大小大于该值(KB)的文件。",
6464
"config.workspace.useGitIgnore": "忽略 `.gitignore` 中列举的文件。",
65+
"config.workspace.userThirdParty": "在这里添加私有的第三方库适配文件路径,请参考内置的[配置文件路径](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)",
6566
"config.zzzzzz.cat": "DONT TOUCH ME, LET ME SLEEP >_<",
6667
"duplicate-index": "在字面量表中重复定义了索引",
6768
"empty-block": "空代码块",

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.3.0"
3+
local VERSION = "2.3.1"
44

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

server

setting/schema-zh-cn.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,6 +1318,14 @@
13181318
"markdownDescription": "忽略 `.gitignore` 中列举的文件。",
13191319
"scope": "resource",
13201320
"type": "boolean"
1321+
},
1322+
"Lua.workspace.userThirdParty": {
1323+
"items": {
1324+
"type": "string"
1325+
},
1326+
"markdownDescription": "在这里添加私有的第三方库适配文件路径,请参考内置的[配置文件路径](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)",
1327+
"scope": "resource",
1328+
"type": "array"
13211329
}
13221330
},
13231331
"title": "setting",

setting/schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,6 +1318,14 @@
13181318
"markdownDescription": "Ignore files list in `.gitignore` .",
13191319
"scope": "resource",
13201320
"type": "boolean"
1321+
},
1322+
"Lua.workspace.userThirdParty": {
1323+
"items": {
1324+
"type": "string"
1325+
},
1326+
"markdownDescription": "Add private third-party library configuration file paths here, please refer to the built-in [configuration file path](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)",
1327+
"scope": "resource",
1328+
"type": "array"
13211329
}
13221330
},
13231331
"title": "setting",

0 commit comments

Comments
 (0)