diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-09-21 17:30:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-09-21 17:30:17 +0800 |
commit | 4215b35c77d879bddd1d19a71a2196e66fd439d8 (patch) | |
tree | 5f9537a637c30cb0ed3154d8e27a17427902462a /server-beta/src/brave | |
parent | 6e0641e480cc80afea6016a75ebb6c757c411867 (diff) | |
download | lua-language-server-4215b35c77d879bddd1d19a71a2196e66fd439d8.zip |
暂存
Diffstat (limited to 'server-beta/src/brave')
-rw-r--r-- | server-beta/src/brave/init.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server-beta/src/brave/init.lua b/server-beta/src/brave/init.lua index aac92a38..b87d54d8 100644 --- a/server-beta/src/brave/init.lua +++ b/server-beta/src/brave/init.lua @@ -17,9 +17,11 @@ brave.on('compile', function (text) log.debug(err) return end + local lines = parser:lines(text, 'utf8') return { - root = state.root, - errs = state.errs, + root = state.root, + errs = state.errs, + lines = lines, } end) |