diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-11 14:52:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-11 14:52:40 +0800 |
commit | 50e6cd02d535e12e085eab7d8bdcb4757be857f2 (patch) | |
tree | 5811e18bf8ce45ce243c388f296aebd60523e2ba /script/core/diagnostics/lowercase-global.lua | |
parent | 997f15620b6e4dfe6a21ed52b17ac15c4e6b9a93 (diff) | |
download | lua-language-server-50e6cd02d535e12e085eab7d8bdcb4757be857f2.zip |
rename getAst -> getState
Diffstat (limited to 'script/core/diagnostics/lowercase-global.lua')
-rw-r--r-- | script/core/diagnostics/lowercase-global.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/lowercase-global.lua b/script/core/diagnostics/lowercase-global.lua index 8c7ae793..cba33459 100644 --- a/script/core/diagnostics/lowercase-global.lua +++ b/script/core/diagnostics/lowercase-global.lua @@ -18,7 +18,7 @@ end -- 不允许定义首字母小写的全局变量(很可能是拼错或者漏删) return function (uri, callback) - local ast = files.getAst(uri) + local ast = files.getState(uri) if not ast then return end |