diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 16:58:52 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 16:58:52 +0800 |
commit | ee20f068952aa4586e2976234aafd68d27190ec2 (patch) | |
tree | 13c89f5c607c51ecae9a0cca3e8ce1a02141628e /script | |
parent | 6c51d7f41369e85f14ab6050907544714801d70e (diff) | |
download | lua-language-server-ee20f068952aa4586e2976234aafd68d27190ec2.zip |
remove `?/?.lua` from `Lua.runtime.path`
Diffstat (limited to 'script')
-rw-r--r-- | script/config/config.lua | 1 | ||||
-rw-r--r-- | script/core/code-action.lua | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/script/config/config.lua b/script/config/config.lua index 297d70ef..e83d45f1 100644 --- a/script/config/config.lua +++ b/script/config/config.lua @@ -148,7 +148,6 @@ local Template = { ['Lua.runtime.path'] = Type.Array(Type.String) >> { "?.lua", "?/init.lua", - "?/?.lua" }, ['Lua.runtime.special'] = Type.Hash(Type.String, Type.String), ['Lua.runtime.meta'] = Type.String >> '${version} ${language}', diff --git a/script/core/code-action.lua b/script/core/code-action.lua index e5690fe4..64f862f9 100644 --- a/script/core/code-action.lua +++ b/script/core/code-action.lua @@ -2,7 +2,6 @@ local files = require 'files' local lang = require 'language' local util = require 'utility' local sp = require 'bee.subprocess' -local vm = require 'vm' local guide = require "parser.guide" local function checkDisableByLuaDocExits(uri, row, mode, code) |