diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-29 14:26:14 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-29 14:26:14 +0800 |
commit | c8a7122ca9a1391ac09d05cc98762f1c73eb2712 (patch) | |
tree | f8d9f879b5a3b394af3ba9a19d889674fe14de04 /script/core/diagnostics/codestyle-check.lua | |
parent | 57eeaa434ac78ab4609b08ac27727cecd16f254c (diff) | |
download | lua-language-server-c8a7122ca9a1391ac09d05cc98762f1c73eb2712.zip |
fix #1249
Diffstat (limited to 'script/core/diagnostics/codestyle-check.lua')
-rw-r--r-- | script/core/diagnostics/codestyle-check.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/codestyle-check.lua b/script/core/diagnostics/codestyle-check.lua index 34d55ee2..25603b4b 100644 --- a/script/core/diagnostics/codestyle-check.lua +++ b/script/core/diagnostics/codestyle-check.lua @@ -7,7 +7,7 @@ local pformatting = require 'provider.formatting' ---@async return function(uri, callback) - local text = files.getText(uri) + local text = files.getOriginText(uri) if not text then return end |