diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-03 19:55:07 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-03 19:55:07 +0800 |
commit | cfcf85156ea3f74e0697421b74cd3f9fdb0f91cf (patch) | |
tree | 4478a463a2fbc38b10f34c9ceb36040a266138d5 /server/src/service.lua | |
parent | 5edda40151d5eed6605009346217d1da3bcb9ae6 (diff) | |
download | lua-language-server-cfcf85156ea3f74e0697421b74cd3f9fdb0f91cf.zip |
语法错误的版本
Diffstat (limited to 'server/src/service.lua')
-rw-r--r-- | server/src/service.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index fdeb926d..6db71442 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -497,6 +497,10 @@ function mt:doDiagnostics(uri) end end +function mt:getFile(uri) + return self._file[uri] +end + function mt:getVM(uri) local obj = self._file[uri] if not obj then |