diff options
author | sumneko <sumneko@hotmail.com> | 2022-01-22 05:48:53 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2022-01-22 05:48:53 +0800 |
commit | 37d33caad5eca02ffa3ac0608ccfe13468bdd22e (patch) | |
tree | a481bde0654d8dcbdd8c54c000296e52f7ba29fb /script/brave/work.lua | |
parent | 877306a927b098e25853f38ea792dd5ee663bbfd (diff) | |
download | lua-language-server-37d33caad5eca02ffa3ac0608ccfe13468bdd22e.zip |
use async loadFile
Diffstat (limited to 'script/brave/work.lua')
-rw-r--r-- | script/brave/work.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/brave/work.lua b/script/brave/work.lua index 6307c777..49c90f83 100644 --- a/script/brave/work.lua +++ b/script/brave/work.lua @@ -24,3 +24,7 @@ brave.on('timer', function (time) brave.push('wakeup') end end) + +brave.on('loadFile', function (path) + return util.loadFile(path) +end) |