summaryrefslogtreecommitdiff
path: root/script/files.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-18 17:52:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-18 17:52:37 +0800
commitbc4648dca8384b68a128ab5096ec2e36aa0546fe (patch)
treedc715a5229fa67a89c0403ac93fb5b97951874b9 /script/files.lua
parentbdc34b18b2ff113734372b7932cfed62dfded0ee (diff)
downloadlua-language-server-bc4648dca8384b68a128ab5096ec2e36aa0546fe.zip
allref
Diffstat (limited to 'script/files.lua')
-rw-r--r--script/files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/files.lua b/script/files.lua
index d99f6473..dffc976c 100644
--- a/script/files.lua
+++ b/script/files.lua
@@ -401,7 +401,7 @@ function m.compileState(uri, text)
if not m.notifyCache['preloadFileSize'][uri] then
m.notifyCache['preloadFileSize'][uri] = true
m.notifyCache['skipLargeFileCount'] = m.notifyCache['skipLargeFileCount'] + 1
- if m.notifyCache['skipLargeFileCount'] <= 3 then
+ if m.notifyCache['skipLargeFileCount'] <= 1 then
proto.notify('window/showMessage', {
type = 3,
message = lang.script('WORKSPACE_SKIP_LARGE_FILE'