diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-24 17:22:31 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-24 17:22:31 +0800 |
commit | 90b93496561e5c254136357f02738df8eba93c93 (patch) | |
tree | b540cb9b4ec79b926b179ac9119f24a208b380f7 /script | |
parent | f7d0ab6a8696eb6d19b275ee437d69826ca3cd6e (diff) | |
download | lua-language-server-90b93496561e5c254136357f02738df8eba93c93.zip |
fix diag cache
Diffstat (limited to 'script')
-rw-r--r-- | script/provider/diagnostic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua index f93de54c..71b53ec2 100644 --- a/script/provider/diagnostic.lua +++ b/script/provider/diagnostic.lua @@ -189,7 +189,7 @@ function m.doDiagnostic(uri) return end - if util.equal(m.cache, full) then + if util.equal(m.cache[uri], full) then return end m.cache[uri] = full |