summaryrefslogtreecommitdiff
path: root/script-beta/brave/work.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-23 11:42:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-23 11:42:57 +0800
commitdc1a5bb4215a32ad16697b48d74585242c685217 (patch)
tree7cd48130071795ce5c3e316328ab7eab78b690ad /script-beta/brave/work.lua
parent9990b45689cfeb4a0b24fa9e6bbc6cc631910d22 (diff)
downloadlua-language-server-dc1a5bb4215a32ad16697b48d74585242c685217.zip
修正一些bug
Diffstat (limited to 'script-beta/brave/work.lua')
-rw-r--r--script-beta/brave/work.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/brave/work.lua b/script-beta/brave/work.lua
index fe86807f..bee159d6 100644
--- a/script-beta/brave/work.lua
+++ b/script-beta/brave/work.lua
@@ -1,11 +1,11 @@
local brave = require 'brave.brave'
-local jsonrpc = require 'jsonrpc'
local parser = require 'parser'
local fs = require 'bee.filesystem'
local furi = require 'file-uri'
local util = require 'utility'
brave.on('loadProto', function ()
+ local jsonrpc = require 'jsonrpc'
while true do
local proto = jsonrpc.decode(io.read, log.error)
--log.debug('loaded proto', proto.method)