diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-01-25 20:05:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-01-25 20:05:35 +0800 |
commit | 9bf5c99c7676d04dead6ea84a0e8b8518c1dae7e (patch) | |
tree | a326bb4255d9964703127d1800f491870f9a98dd /script/provider/provider.lua | |
parent | 7667109acd76492c82b17fbe57666b5db675d7ed (diff) | |
download | lua-language-server-9bf5c99c7676d04dead6ea84a0e8b8518c1dae7e.zip |
supports cancel workspace diagnostic
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 5 |
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) |