From 7583cd349a30ebe0aa96b2373c38ae9f711fc2c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= <sumneko@hotmail.com> Date: Tue, 6 Sep 2022 20:13:10 +0800 Subject: [PATCH] 3.5.4 --- changelog.md | 11 ++++++++++ package.json | 37 +++++++++++++++++++++++++++++++++- package/build.lua | 2 +- server | 2 +- setting/schema-pt-br.json | 42 +++++++++++++++++++++++++++++++++++++++ setting/schema-zh-cn.json | 42 +++++++++++++++++++++++++++++++++++++++ setting/schema-zh-tw.json | 42 +++++++++++++++++++++++++++++++++++++++ setting/schema.json | 42 +++++++++++++++++++++++++++++++++++++++ 8 files changed, 217 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index f02640b..c9a7160 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,16 @@ # changelog +## 3.5.4 +`2022-9-6` +* `NEW` `type-formatting`: fix wrong indentation of VSCode +* `CHG` `document-symbol`: redesigned to better support for `Sticky Scroll` feature of VSCode +* `FIX` `diagnostics.workspaceDelay` can not prevent first workspace diagnostic +* `FIX` [#1476](https://github.com/sumneko/lua-language-server/issues/1476) +* `FIX` [#1490](https://github.com/sumneko/lua-language-server/issues/1490) +* `FIX` [#1493](https://github.com/sumneko/lua-language-server/issues/1493) +* `FIX` [#1499](https://github.com/sumneko/lua-language-server/issues/1499) +* `FIX` [#1526](https://github.com/sumneko/lua-language-server/issues/1526) + ## 3.5.3 `2022-8-13` * `FIX` [#1409](https://github.com/sumneko/lua-language-server/issues/1409) diff --git a/package.json b/package.json index b040729..59c4dfb 100644 --- a/package.json +++ b/package.json @@ -203,6 +203,7 @@ "missing-return", "missing-return-value", "need-check-nil", + "need-paren", "newfield-call", "newline-call", "no-unknown", @@ -2429,6 +2430,16 @@ ], "type": "string" }, + "string.buffer": { + "default": "default", + "description": "%config.runtime.builtin.string.buffer%", + "enum": [ + "default", + "enable", + "disable" + ], + "type": "string" + }, "table": { "default": "default", "description": "%config.runtime.builtin.table%", @@ -2684,6 +2695,30 @@ "scope": "resource", "type": "boolean" }, + "Lua.typeFormat.config": { + "additionalProperties": false, + "markdownDescription": "%config.typeFormat.config%", + "properties": { + "auto_complete_end": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_end%", + "type": "string" + }, + "auto_complete_table_sep": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_table_sep%", + "type": "string" + }, + "format_line": { + "default": "true", + "description": "%config.typeFormat.config.format_line%", + "type": "string" + } + }, + "scope": "resource", + "title": "config", + "type": "object" + }, "Lua.window.progressBar": { "default": true, "markdownDescription": "%config.window.progressBar%", @@ -2939,5 +2974,5 @@ "sponsor": { "url": "https://github.com/sumneko/lua-language-server/issues/484" }, - "version": "3.5.3" + "version": "3.5.4" } diff --git a/package/build.lua b/package/build.lua index da0b32c..41b5694 100644 --- a/package/build.lua +++ b/package/build.lua @@ -1,6 +1,6 @@ local json = require 'json-beautify' -local VERSION = "3.5.3" +local VERSION = "3.5.4" local package = require 'package.package' local fsu = require 'fs-utility' diff --git a/server b/server index dacf711..efe82ed 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit dacf711d57cddbf106937abd64f544a9298f3349 +Subproject commit efe82edce8af8160c3a6e0977bee935f7f8655d5 diff --git a/setting/schema-pt-br.json b/setting/schema-pt-br.json index 345bbc3..076a349 100644 --- a/setting/schema-pt-br.json +++ b/setting/schema-pt-br.json @@ -253,6 +253,7 @@ "missing-return", "missing-return-value", "need-check-nil", + "need-paren", "newfield-call", "newline-call", "no-unknown", @@ -2583,6 +2584,16 @@ ], "type": "string" }, + "string.buffer": { + "default": "default", + "description": "%config.runtime.builtin.string.buffer%", + "enum": [ + "default", + "enable", + "disable" + ], + "type": "string" + }, "table": { "default": "default", "description": "%config.runtime.builtin.table%", @@ -2888,6 +2899,37 @@ "scope": "resource", "type": "boolean" }, + "typeFormat": { + "properties": { + "config": { + "$ref": "#/properties/typeFormat.config" + } + } + }, + "typeFormat.config": { + "additionalProperties": false, + "markdownDescription": "%config.typeFormat.config%", + "properties": { + "auto_complete_end": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_end%", + "type": "string" + }, + "auto_complete_table_sep": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_table_sep%", + "type": "string" + }, + "format_line": { + "default": "true", + "description": "%config.typeFormat.config.format_line%", + "type": "string" + } + }, + "scope": "resource", + "title": "config", + "type": "object" + }, "window": { "properties": { "progressBar": { diff --git a/setting/schema-zh-cn.json b/setting/schema-zh-cn.json index b3cf7d9..7a3eeb5 100644 --- a/setting/schema-zh-cn.json +++ b/setting/schema-zh-cn.json @@ -253,6 +253,7 @@ "missing-return", "missing-return-value", "need-check-nil", + "need-paren", "newfield-call", "newline-call", "no-unknown", @@ -2583,6 +2584,16 @@ ], "type": "string" }, + "string.buffer": { + "default": "default", + "description": "%config.runtime.builtin.string.buffer%", + "enum": [ + "default", + "enable", + "disable" + ], + "type": "string" + }, "table": { "default": "default", "description": "%config.runtime.builtin.table%", @@ -2888,6 +2899,37 @@ "scope": "resource", "type": "boolean" }, + "typeFormat": { + "properties": { + "config": { + "$ref": "#/properties/typeFormat.config" + } + } + }, + "typeFormat.config": { + "additionalProperties": false, + "markdownDescription": "%config.typeFormat.config%", + "properties": { + "auto_complete_end": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_end%", + "type": "string" + }, + "auto_complete_table_sep": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_table_sep%", + "type": "string" + }, + "format_line": { + "default": "true", + "description": "%config.typeFormat.config.format_line%", + "type": "string" + } + }, + "scope": "resource", + "title": "config", + "type": "object" + }, "window": { "properties": { "progressBar": { diff --git a/setting/schema-zh-tw.json b/setting/schema-zh-tw.json index 92b1fa6..ee0c21f 100644 --- a/setting/schema-zh-tw.json +++ b/setting/schema-zh-tw.json @@ -253,6 +253,7 @@ "missing-return", "missing-return-value", "need-check-nil", + "need-paren", "newfield-call", "newline-call", "no-unknown", @@ -2583,6 +2584,16 @@ ], "type": "string" }, + "string.buffer": { + "default": "default", + "description": "%config.runtime.builtin.string.buffer%", + "enum": [ + "default", + "enable", + "disable" + ], + "type": "string" + }, "table": { "default": "default", "description": "%config.runtime.builtin.table%", @@ -2888,6 +2899,37 @@ "scope": "resource", "type": "boolean" }, + "typeFormat": { + "properties": { + "config": { + "$ref": "#/properties/typeFormat.config" + } + } + }, + "typeFormat.config": { + "additionalProperties": false, + "markdownDescription": "%config.typeFormat.config%", + "properties": { + "auto_complete_end": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_end%", + "type": "string" + }, + "auto_complete_table_sep": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_table_sep%", + "type": "string" + }, + "format_line": { + "default": "true", + "description": "%config.typeFormat.config.format_line%", + "type": "string" + } + }, + "scope": "resource", + "title": "config", + "type": "object" + }, "window": { "properties": { "progressBar": { diff --git a/setting/schema.json b/setting/schema.json index cf520e0..0baeca1 100644 --- a/setting/schema.json +++ b/setting/schema.json @@ -253,6 +253,7 @@ "missing-return", "missing-return-value", "need-check-nil", + "need-paren", "newfield-call", "newline-call", "no-unknown", @@ -2583,6 +2584,16 @@ ], "type": "string" }, + "string.buffer": { + "default": "default", + "description": "%config.runtime.builtin.string.buffer%", + "enum": [ + "default", + "enable", + "disable" + ], + "type": "string" + }, "table": { "default": "default", "description": "%config.runtime.builtin.table%", @@ -2888,6 +2899,37 @@ "scope": "resource", "type": "boolean" }, + "typeFormat": { + "properties": { + "config": { + "$ref": "#/properties/typeFormat.config" + } + } + }, + "typeFormat.config": { + "additionalProperties": false, + "markdownDescription": "%config.typeFormat.config%", + "properties": { + "auto_complete_end": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_end%", + "type": "string" + }, + "auto_complete_table_sep": { + "default": "true", + "description": "%config.typeFormat.config.auto_complete_table_sep%", + "type": "string" + }, + "format_line": { + "default": "true", + "description": "%config.typeFormat.config.format_line%", + "type": "string" + } + }, + "scope": "resource", + "title": "config", + "type": "object" + }, "window": { "properties": { "progressBar": { -- GitLab