Skip to content
Snippets Groups Projects
Commit 6360efc8 authored by 最萌小汐's avatar 最萌小汐
Browse files

修正bug

parent bdd3f349
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ local exePath = findExePath()
local exeDir = exePath:gsub('[^/\\]-$', '')
local dll = exePath:sub(-4) == '.exe' and '.dll' or '.so'
package.cpath = exeDir .. '?' .. dll
if not package.loadlib('bee'..dll, 'luaopen_bee_platform') then
if not package.loadlib(exeDir..'bee'..dll, 'luaopen_bee_platform') then
error([[It doesn't seem to support your OS, please let me know at https://github.com/sumneko/lua-language-server/issues]])
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment