diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-08 11:09:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-08 11:09:58 +0800 |
commit | d2b9dee8ce0ae345e4efd43c112bb3efd4071888 (patch) | |
tree | 125564af4ce2685d2495352e26e0230f40f79a66 /server-beta/src/pub/report.lua | |
parent | a6930417f3da299d4f15f4404b6d3dd900ec38f9 (diff) | |
download | lua-language-server-d2b9dee8ce0ae345e4efd43c112bb3efd4071888.zip |
语法错误诊断
Diffstat (limited to 'server-beta/src/pub/report.lua')
-rw-r--r-- | server-beta/src/pub/report.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server-beta/src/pub/report.lua b/server-beta/src/pub/report.lua index d73a4e69..edd3ee0e 100644 --- a/server-beta/src/pub/report.lua +++ b/server-beta/src/pub/report.lua @@ -1,5 +1,5 @@ -local pub = require 'pub.pub' -local task = require 'task' +local pub = require 'pub.pub' +local await = require 'await' pub.on('log', function (params, brave) log.raw(brave.id, params.level, params.msg, params.src, params.line) @@ -11,7 +11,7 @@ end) pub.on('proto', function (params) local proto = require 'proto' - task.create(function () + await.create(function () if params.method then proto.doMethod(params) else |