diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-30 20:04:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-30 20:04:02 +0800 |
commit | 76b8cf3236db2efc7f73f3508212d99199b73b52 (patch) | |
tree | 25c028edc02fd1b1732c64ed0d39b13cc8ec1fa6 /script/vm/ref.lua | |
parent | 4a9ab5b1ae9889e9732b53ad8cdf3b6db5394c3b (diff) | |
download | lua-language-server-76b8cf3236db2efc7f73f3508212d99199b73b52.zip |
limit error message for type dismatch
resolve #1838
Diffstat (limited to 'script/vm/ref.lua')
-rw-r--r-- | script/vm/ref.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/ref.lua b/script/vm/ref.lua index ba9bf453..b6760493 100644 --- a/script/vm/ref.lua +++ b/script/vm/ref.lua @@ -29,7 +29,10 @@ simpleSwitch = util.switch() ---@async local function searchInAllFiles(suri, searcher, notify) + await.delay() + searcher(suri) + await.delay() local uris = {} for uri in files.eachFile(suri) do |