diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-30 12:13:11 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-30 12:13:11 +0800 |
commit | b2c1a69f74823d3481076e5def02e45a22eae4ef (patch) | |
tree | a3d0a18a50b87c7458cc7f42ac65e40bf1eeb8e3 | |
parent | 8e065707060a5f5902ed2552187a61dda51130f8 (diff) | |
download | lua-language-server-b2c1a69f74823d3481076e5def02e45a22eae4ef.zip |
改个提示
-rw-r--r-- | server/src/service.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 51fb756b..ad032655 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -250,7 +250,7 @@ function mt:compileAst(obj) log.debug(message) rpc:notify('window/showMessage', { type = 3, - message = lang.script('PARSER_CRASH', err:match 'grammar%.lua%:%d+%:(.+)'), + message = lang.script('PARSER_CRASH', err:match 'grammar%.lua%:%d+%:(.+)' or err), }) end end |