Skip to content

Commit c8a7122

Browse files
committed
fix #1249
1 parent 57eeaa4 commit c8a7122

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
* `FIX` [#1228](https://github.com/sumneko/lua-language-server/issues/1228)
4949
* `FIX` [#1229](https://github.com/sumneko/lua-language-server/issues/1229)
5050
* `FIX` [#1242](https://github.com/sumneko/lua-language-server/issues/1242)
51+
* `FIX` [#1249](https://github.com/sumneko/lua-language-server/issues/1249)
5152

5253
## 3.3.1
5354
`2022-6-17`

script/core/diagnostics/codestyle-check.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ local pformatting = require 'provider.formatting'
77

88
---@async
99
return function(uri, callback)
10-
local text = files.getText(uri)
10+
local text = files.getOriginText(uri)
1111
if not text then
1212
return
1313
end

0 commit comments

Comments
 (0)