diff options
-rw-r--r-- | .editorconfig | 3 | ||||
-rw-r--r-- | changelog.md | 1 | ||||
-rw-r--r-- | script/provider/provider.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.editorconfig b/.editorconfig index 100b2c99..48df1807 100644 --- a/.editorconfig +++ b/.editorconfig @@ -43,7 +43,8 @@ if_condition_no_continuation_indent = false # optional crlf/lf -end_of_line = lf +end_of_line = auto +detect_end_of_line = true # [line layout] # The following configuration supports three expressions diff --git a/changelog.md b/changelog.md index 49dbc526..d455e918 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,7 @@ * `CHG` diagnostic: + `type-check`: removed for now + `no-implicit-any`: renamed to `no-unknown` +* `CHG` formatter: no longer need` --preview` ## 2.6.8 `2022-4-9` diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 62284823..4061f6b1 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -1019,7 +1019,6 @@ m.register 'textDocument/formatting' { capability = { documentFormattingProvider = true, }, - preview = true, ---@async function(params) local uri = files.getRealUri(params.textDocument.uri) @@ -1057,7 +1056,6 @@ m.register 'textDocument/rangeFormatting' { capability = { documentRangeFormattingProvider = true, }, - preview = true, ---@async function(params) local uri = files.getRealUri(params.textDocument.uri) |