diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-20 14:34:13 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-20 14:34:13 +0800 |
commit | 14d55ce96e354870de8082b8cc3aabb58dc5b76f (patch) | |
tree | 392cb60cf6c5376cc193a97226e3057e5f95bdbc | |
parent | 6386883842d6d3f9f319a641bcc985f2f7f5506d (diff) | |
download | lua-language-server-14d55ce96e354870de8082b8cc3aabb58dc5b76f.zip |
log version
-rw-r--r-- | main.lua | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,8 +2,9 @@ local currentPath = debug.getinfo(1, 'S').source:sub(2) local rootPath = currentPath:gsub('[/\\]*[^/\\]-$', '') rootPath = (rootPath == '' and '.' or rootPath) loadfile(rootPath .. '/platform.lua')('script') -local fs = require 'bee.filesystem' -local util = require 'utility' +local fs = require 'bee.filesystem' +local util = require 'utility' +local version = require 'version' local function loadArgs() for _, v in ipairs(arg) do @@ -44,6 +45,7 @@ log.info('Lua Lsp startup, root: ', ROOT) log.debug('ROOT:', ROOT:string()) log.debug('LOGPATH:', LOGPATH) log.debug('METAPATH:', METAPATH) +log.debug('VERSION:', version.getVersion()) require 'tracy' |