summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r--script/provider/provider.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index ef300e02..0b880ff7 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -691,3 +691,8 @@ proto.on('textDocument/foldingRange', function (params)
return results
end)
+
+proto.on('window/workDoneProgress/cancel', function (params)
+ local progress = require 'progress'
+ progress.cancel(params.token)
+end)