diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-11-20 12:13:59 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-11-20 12:13:59 +0800 |
commit | 4321271853b484150d37b9908fdab46fde0ad8fa (patch) | |
tree | d3e0993efdc753505dbd738ac233595a70836efe /src/method | |
parent | afea7d6f14e7534a71591447ccc5b1110836ed8c (diff) | |
download | lua-language-server-4321271853b484150d37b9908fdab46fde0ad8fa.zip |
通知不应该返回
Diffstat (limited to 'src/method')
-rw-r--r-- | src/method/exit.lua | 3 | ||||
-rw-r--r-- | src/method/init.lua | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/method/exit.lua b/src/method/exit.lua new file mode 100644 index 00000000..716a86e7 --- /dev/null +++ b/src/method/exit.lua @@ -0,0 +1,3 @@ +return function () + return true +end diff --git a/src/method/init.lua b/src/method/init.lua index 46b79cc4..a99c3ed5 100644 --- a/src/method/init.lua +++ b/src/method/init.lua @@ -4,6 +4,7 @@ local function init(name) method[name] = require('method.' .. name:gsub('/', '.')) end +init 'exit' init 'initialize' init 'initialized' init 'shutdown' |