summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument/references.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method/textDocument/references.lua')
-rw-r--r--server/src/method/textDocument/references.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/textDocument/references.lua b/server/src/method/textDocument/references.lua
index ad1ebce0..c5a3ebf3 100644
--- a/server/src/method/textDocument/references.lua
+++ b/server/src/method/textDocument/references.lua
@@ -18,7 +18,7 @@ return function (lsp, params)
local position = lines:positionAsChar(params.position.line + 1, params.position.character)
return function (response)
- LastTask = ac.timer(0.1, 100, function (t)
+ LastTask = ac.loop(0.1, function (t)
if lsp:isWaitingCompile() then
return
end