diff options
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | .vscode/lua-plugin/example.lua | 6 | ||||
-rw-r--r-- | log/service.log | 133 | ||||
-rw-r--r-- | main-beta.lua (renamed from script-beta/main.lua) | 2 | ||||
-rw-r--r-- | main.lua (renamed from script/main.lua) | 2 | ||||
-rw-r--r-- | platform.lua | 29 | ||||
-rw-r--r-- | script-beta/await.lua (renamed from script-beta/src/await.lua) | 0 | ||||
-rw-r--r-- | script-beta/brave/brave.lua (renamed from script-beta/src/brave/brave.lua) | 0 | ||||
-rw-r--r-- | script-beta/brave/init.lua (renamed from script-beta/src/brave/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/brave/log.lua (renamed from script-beta/src/brave/log.lua) | 0 | ||||
-rw-r--r-- | script-beta/brave/work.lua (renamed from script-beta/src/brave/work.lua) | 0 | ||||
-rw-r--r-- | script-beta/config.lua (renamed from script-beta/src/config.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/definition.lua (renamed from script-beta/src/core/definition.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/ambiguity-1.lua (renamed from script-beta/src/core/diagnostics/ambiguity-1.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/duplicate-index.lua (renamed from script-beta/src/core/diagnostics/duplicate-index.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/emmy-lua.lua (renamed from script-beta/src/core/diagnostics/emmy-lua.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/empty-block.lua (renamed from script-beta/src/core/diagnostics/empty-block.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/global-in-nil-env.lua (renamed from script-beta/src/core/diagnostics/global-in-nil-env.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/init.lua (renamed from script-beta/src/core/diagnostics/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/lowercase-global.lua (renamed from script-beta/src/core/diagnostics/lowercase-global.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/newfield-call.lua (renamed from script-beta/src/core/diagnostics/newfield-call.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/newline-call.lua (renamed from script-beta/src/core/diagnostics/newline-call.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/redefined-local.lua (renamed from script-beta/src/core/diagnostics/redefined-local.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/redundant-parameter.lua (renamed from script-beta/src/core/diagnostics/redundant-parameter.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/redundant-value.lua (renamed from script-beta/src/core/diagnostics/redundant-value.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/trailing-space.lua (renamed from script-beta/src/core/diagnostics/trailing-space.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/undefined-env-child.lua (renamed from script-beta/src/core/diagnostics/undefined-env-child.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/undefined-global.lua (renamed from script-beta/src/core/diagnostics/undefined-global.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/unused-function.lua (renamed from script-beta/src/core/diagnostics/unused-function.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/unused-label.lua (renamed from script-beta/src/core/diagnostics/unused-label.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/unused-local.lua (renamed from script-beta/src/core/diagnostics/unused-local.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/diagnostics/unused-vararg.lua (renamed from script-beta/src/core/diagnostics/unused-vararg.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/highlight.lua (renamed from script-beta/src/core/highlight.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/hover/arg.lua (renamed from script-beta/src/core/hover/arg.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/hover/init.lua (renamed from script-beta/src/core/hover/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/hover/label.lua (renamed from script-beta/src/core/hover/label.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/hover/name.lua (renamed from script-beta/src/core/hover/name.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/hover/return.lua (renamed from script-beta/src/core/hover/return.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/hover/table.lua (renamed from script-beta/src/core/hover/table.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/reference.lua (renamed from script-beta/src/core/reference.lua) | 0 | ||||
-rw-r--r-- | script-beta/core/rename.lua (renamed from script-beta/src/core/rename.lua) | 0 | ||||
-rw-r--r-- | script-beta/define/DiagnosticDefaultSeverity.lua (renamed from script-beta/src/define/DiagnosticDefaultSeverity.lua) | 0 | ||||
-rw-r--r-- | script-beta/define/DiagnosticSeverity.lua (renamed from script-beta/src/define/DiagnosticSeverity.lua) | 0 | ||||
-rw-r--r-- | script-beta/define/ErrorCodes.lua (renamed from script-beta/src/define/ErrorCodes.lua) | 0 | ||||
-rw-r--r-- | script-beta/doctor.lua (renamed from script-beta/src/doctor.lua) | 0 | ||||
-rw-r--r-- | script-beta/file-uri.lua (renamed from script-beta/src/file-uri.lua) | 0 | ||||
-rw-r--r-- | script-beta/files.lua (renamed from script-beta/src/files.lua) | 0 | ||||
-rw-r--r-- | script-beta/fs-utility.lua (renamed from script-beta/src/fs-utility.lua) | 0 | ||||
-rw-r--r-- | script-beta/glob/gitignore.lua (renamed from script-beta/src/glob/gitignore.lua) | 0 | ||||
-rw-r--r-- | script-beta/glob/glob.lua (renamed from script-beta/src/glob/glob.lua) | 0 | ||||
-rw-r--r-- | script-beta/glob/init.lua (renamed from script-beta/src/glob/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/glob/matcher.lua (renamed from script-beta/src/glob/matcher.lua) | 0 | ||||
-rw-r--r-- | script-beta/json/decode.lua (renamed from script-beta/src/json/decode.lua) | 0 | ||||
-rw-r--r-- | script-beta/json/encode.lua (renamed from script-beta/src/json/encode.lua) | 0 | ||||
-rw-r--r-- | script-beta/json/init.lua (renamed from script-beta/src/json/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/jsonrpc.lua (renamed from script-beta/src/jsonrpc.lua) | 0 | ||||
-rw-r--r-- | script-beta/language.lua (renamed from script-beta/src/language.lua) | 0 | ||||
-rw-r--r-- | script-beta/library.lua (renamed from script-beta/src/library.lua) | 0 | ||||
-rw-r--r-- | script-beta/log.lua (renamed from script-beta/src/log.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/ast.lua (renamed from script-beta/src/parser/ast.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/calcline.lua (renamed from script-beta/src/parser/calcline.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/compile.lua (renamed from script-beta/src/parser/compile.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/emmy.lua (renamed from script-beta/src/parser/emmy.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/grammar.lua (renamed from script-beta/src/parser/grammar.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/guide.lua (renamed from script-beta/src/parser/guide.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/init.lua (renamed from script-beta/src/parser/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/lines.lua (renamed from script-beta/src/parser/lines.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/parse.lua (renamed from script-beta/src/parser/parse.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/relabel.lua (renamed from script-beta/src/parser/relabel.lua) | 0 | ||||
-rw-r--r-- | script-beta/parser/split.lua (renamed from script-beta/src/parser/split.lua) | 0 | ||||
-rw-r--r-- | script-beta/platform.lua | 28 | ||||
-rw-r--r-- | script-beta/proto/define.lua (renamed from script-beta/src/proto/define.lua) | 0 | ||||
-rw-r--r-- | script-beta/proto/init.lua (renamed from script-beta/src/proto/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/proto/proto.lua (renamed from script-beta/src/proto/proto.lua) | 0 | ||||
-rw-r--r-- | script-beta/provider/capability.lua (renamed from script-beta/src/provider/capability.lua) | 0 | ||||
-rw-r--r-- | script-beta/provider/completion.lua (renamed from script-beta/src/provider/completion.lua) | 0 | ||||
-rw-r--r-- | script-beta/provider/diagnostic.lua (renamed from script-beta/src/provider/diagnostic.lua) | 0 | ||||
-rw-r--r-- | script-beta/provider/init.lua (renamed from script-beta/src/provider/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/provider/markdown.lua (renamed from script-beta/src/provider/markdown.lua) | 0 | ||||
-rw-r--r-- | script-beta/pub/init.lua (renamed from script-beta/src/pub/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/pub/pub.lua (renamed from script-beta/src/pub/pub.lua) | 0 | ||||
-rw-r--r-- | script-beta/pub/report.lua (renamed from script-beta/src/pub/report.lua) | 0 | ||||
-rw-r--r-- | script-beta/service/init.lua (renamed from script-beta/src/service/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/service/service.lua (renamed from script-beta/src/service/service.lua) | 0 | ||||
-rw-r--r-- | script-beta/timer.lua (renamed from script-beta/src/timer.lua) | 0 | ||||
-rw-r--r-- | script-beta/utility.lua (renamed from script-beta/src/utility.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/dummySource.lua (renamed from script-beta/src/vm/dummySource.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/eachDef.lua (renamed from script-beta/src/vm/eachDef.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/eachField.lua (renamed from script-beta/src/vm/eachField.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/eachRef.lua (renamed from script-beta/src/vm/eachRef.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/getGlobal.lua (renamed from script-beta/src/vm/getGlobal.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/getGlobals.lua (renamed from script-beta/src/vm/getGlobals.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/getLibrary.lua (renamed from script-beta/src/vm/getLibrary.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/getLinks.lua (renamed from script-beta/src/vm/getLinks.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/getValue.lua (renamed from script-beta/src/vm/getValue.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/init.lua (renamed from script-beta/src/vm/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/special.lua (renamed from script-beta/src/vm/special.lua) | 0 | ||||
-rw-r--r-- | script-beta/vm/vm.lua (renamed from script-beta/src/vm/vm.lua) | 0 | ||||
-rw-r--r-- | script-beta/workspace/init.lua (renamed from script-beta/src/workspace/init.lua) | 0 | ||||
-rw-r--r-- | script-beta/workspace/workspace.lua (renamed from script-beta/src/workspace/workspace.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri.lua (renamed from script/src/3rd/lua-uri/uri.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/_login.lua (renamed from script/src/3rd/lua-uri/uri/_login.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/_relative.lua (renamed from script/src/3rd/lua-uri/uri/_relative.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/_util.lua (renamed from script/src/3rd/lua-uri/uri/_util.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/data.lua (renamed from script/src/3rd/lua-uri/uri/data.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/file.lua (renamed from script/src/3rd/lua-uri/uri/file.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/file/unix.lua (renamed from script/src/3rd/lua-uri/uri/file/unix.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/file/win32.lua (renamed from script/src/3rd/lua-uri/uri/file/win32.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/ftp.lua (renamed from script/src/3rd/lua-uri/uri/ftp.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/http.lua (renamed from script/src/3rd/lua-uri/uri/http.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/https.lua (renamed from script/src/3rd/lua-uri/uri/https.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/pop.lua (renamed from script/src/3rd/lua-uri/uri/pop.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/rtsp.lua (renamed from script/src/3rd/lua-uri/uri/rtsp.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/rtspu.lua (renamed from script/src/3rd/lua-uri/uri/rtspu.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/telnet.lua (renamed from script/src/3rd/lua-uri/uri/telnet.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/urn.lua (renamed from script/src/3rd/lua-uri/uri/urn.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/urn/isbn.lua (renamed from script/src/3rd/lua-uri/uri/urn/isbn.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/urn/issn.lua (renamed from script/src/3rd/lua-uri/uri/urn/issn.lua) | 0 | ||||
-rw-r--r-- | script/3rd/lua-uri/uri/urn/oid.lua (renamed from script/src/3rd/lua-uri/uri/urn/oid.lua) | 0 | ||||
-rw-r--r-- | script/async/async.lua (renamed from script/src/async/async.lua) | 0 | ||||
-rw-r--r-- | script/async/init.lua (renamed from script/src/async/init.lua) | 0 | ||||
-rw-r--r-- | script/async/loadfile.lua (renamed from script/src/async/loadfile.lua) | 0 | ||||
-rw-r--r-- | script/async/proto.lua (renamed from script/src/async/proto.lua) | 0 | ||||
-rw-r--r-- | script/async/scanfiles.lua (renamed from script/src/async/scanfiles.lua) | 0 | ||||
-rw-r--r-- | script/capability/completion.lua (renamed from script/src/capability/completion.lua) | 0 | ||||
-rw-r--r-- | script/capability/init.lua (renamed from script/src/capability/init.lua) | 0 | ||||
-rw-r--r-- | script/config.lua (renamed from script/src/config.lua) | 0 | ||||
-rw-r--r-- | script/constant/DiagnosticDefaultSeverity.lua (renamed from script/src/constant/DiagnosticDefaultSeverity.lua) | 0 | ||||
-rw-r--r-- | script/constant/DiagnosticSeverity.lua (renamed from script/src/constant/DiagnosticSeverity.lua) | 0 | ||||
-rw-r--r-- | script/constant/DiagnosticTag.lua (renamed from script/src/constant/DiagnosticTag.lua) | 0 | ||||
-rw-r--r-- | script/core/code_action.lua (renamed from script/src/core/code_action.lua) | 0 | ||||
-rw-r--r-- | script/core/completion.lua (renamed from script/src/core/completion.lua) | 0 | ||||
-rw-r--r-- | script/core/definition.lua (renamed from script/src/core/definition.lua) | 0 | ||||
-rw-r--r-- | script/core/diagnostics.lua (renamed from script/src/core/diagnostics.lua) | 0 | ||||
-rw-r--r-- | script/core/document_symbol.lua (renamed from script/src/core/document_symbol.lua) | 0 | ||||
-rw-r--r-- | script/core/find_lib.lua (renamed from script/src/core/find_lib.lua) | 0 | ||||
-rw-r--r-- | script/core/find_source.lua (renamed from script/src/core/find_source.lua) | 0 | ||||
-rw-r--r-- | script/core/folding_range.lua (renamed from script/src/core/folding_range.lua) | 0 | ||||
-rw-r--r-- | script/core/global.lua (renamed from script/src/core/global.lua) | 0 | ||||
-rw-r--r-- | script/core/highlight.lua (renamed from script/src/core/highlight.lua) | 0 | ||||
-rw-r--r-- | script/core/hover/emmy_function.lua (renamed from script/src/core/hover/emmy_function.lua) | 0 | ||||
-rw-r--r-- | script/core/hover/function.lua (renamed from script/src/core/hover/function.lua) | 0 | ||||
-rw-r--r-- | script/core/hover/hover.lua (renamed from script/src/core/hover/hover.lua) | 0 | ||||
-rw-r--r-- | script/core/hover/init.lua (renamed from script/src/core/hover/init.lua) | 0 | ||||
-rw-r--r-- | script/core/hover/lib_function.lua (renamed from script/src/core/hover/lib_function.lua) | 0 | ||||
-rw-r--r-- | script/core/hover/name.lua (renamed from script/src/core/hover/name.lua) | 0 | ||||
-rw-r--r-- | script/core/implementation.lua (renamed from script/src/core/implementation.lua) | 0 | ||||
-rw-r--r-- | script/core/init.lua (renamed from script/src/core/init.lua) | 0 | ||||
-rw-r--r-- | script/core/library.lua (renamed from script/src/core/library.lua) | 0 | ||||
-rw-r--r-- | script/core/matchKey.lua (renamed from script/src/core/matchKey.lua) | 0 | ||||
-rw-r--r-- | script/core/name.lua (renamed from script/src/core/name.lua) | 0 | ||||
-rw-r--r-- | script/core/references.lua (renamed from script/src/core/references.lua) | 0 | ||||
-rw-r--r-- | script/core/rename.lua (renamed from script/src/core/rename.lua) | 0 | ||||
-rw-r--r-- | script/core/signature.lua (renamed from script/src/core/signature.lua) | 0 | ||||
-rw-r--r-- | script/core/snippet.lua (renamed from script/src/core/snippet.lua) | 0 | ||||
-rw-r--r-- | script/emmy/alias.lua (renamed from script/src/emmy/alias.lua) | 0 | ||||
-rw-r--r-- | script/emmy/arrayType.lua (renamed from script/src/emmy/arrayType.lua) | 0 | ||||
-rw-r--r-- | script/emmy/class.lua (renamed from script/src/emmy/class.lua) | 0 | ||||
-rw-r--r-- | script/emmy/field.lua (renamed from script/src/emmy/field.lua) | 0 | ||||
-rw-r--r-- | script/emmy/funcType.lua (renamed from script/src/emmy/funcType.lua) | 0 | ||||
-rw-r--r-- | script/emmy/generic.lua (renamed from script/src/emmy/generic.lua) | 0 | ||||
-rw-r--r-- | script/emmy/init.lua (renamed from script/src/emmy/init.lua) | 0 | ||||
-rw-r--r-- | script/emmy/manager.lua (renamed from script/src/emmy/manager.lua) | 0 | ||||
-rw-r--r-- | script/emmy/param.lua (renamed from script/src/emmy/param.lua) | 0 | ||||
-rw-r--r-- | script/emmy/return.lua (renamed from script/src/emmy/return.lua) | 0 | ||||
-rw-r--r-- | script/emmy/tableType.lua (renamed from script/src/emmy/tableType.lua) | 0 | ||||
-rw-r--r-- | script/emmy/type.lua (renamed from script/src/emmy/type.lua) | 0 | ||||
-rw-r--r-- | script/emmy/typeUnit.lua (renamed from script/src/emmy/typeUnit.lua) | 0 | ||||
-rw-r--r-- | script/files/file.lua (renamed from script/src/files/file.lua) | 0 | ||||
-rw-r--r-- | script/files/files.lua (renamed from script/src/files/files.lua) | 0 | ||||
-rw-r--r-- | script/files/init.lua (renamed from script/src/files/init.lua) | 0 | ||||
-rw-r--r-- | script/glob/gitignore.lua (renamed from script/src/glob/gitignore.lua) | 0 | ||||
-rw-r--r-- | script/glob/glob.lua (renamed from script/src/glob/glob.lua) | 0 | ||||
-rw-r--r-- | script/glob/init.lua (renamed from script/src/glob/init.lua) | 0 | ||||
-rw-r--r-- | script/glob/matcher.lua (renamed from script/src/glob/matcher.lua) | 0 | ||||
-rw-r--r-- | script/json/decode.lua (renamed from script/src/json/decode.lua) | 0 | ||||
-rw-r--r-- | script/json/encode.lua (renamed from script/src/json/encode.lua) | 0 | ||||
-rw-r--r-- | script/json/init.lua (renamed from script/src/json/init.lua) | 0 | ||||
-rw-r--r-- | script/language.lua (renamed from script/src/language.lua) | 0 | ||||
-rw-r--r-- | script/log.lua (renamed from script/src/log.lua) | 0 | ||||
-rw-r--r-- | script/meta/Lua 5.4/basic.lua | 145 | ||||
-rw-r--r-- | script/meta/Lua 5.4/meta.lua | 27 | ||||
-rw-r--r-- | script/meta/type.lua (renamed from script/src/meta/type.lua) | 0 | ||||
-rw-r--r-- | script/method/exit.lua (renamed from script/src/method/exit.lua) | 0 | ||||
-rw-r--r-- | script/method/init.lua (renamed from script/src/method/init.lua) | 0 | ||||
-rw-r--r-- | script/method/initialize.lua (renamed from script/src/method/initialize.lua) | 0 | ||||
-rw-r--r-- | script/method/initialized.lua (renamed from script/src/method/initialized.lua) | 0 | ||||
-rw-r--r-- | script/method/shutdown.lua (renamed from script/src/method/shutdown.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/codeAction.lua (renamed from script/src/method/textDocument/codeAction.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/completion.lua (renamed from script/src/method/textDocument/completion.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/definition.lua (renamed from script/src/method/textDocument/definition.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/didChange.lua (renamed from script/src/method/textDocument/didChange.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/didClose.lua (renamed from script/src/method/textDocument/didClose.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/didOpen.lua (renamed from script/src/method/textDocument/didOpen.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/documentHighlight.lua (renamed from script/src/method/textDocument/documentHighlight.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/documentSymbol.lua (renamed from script/src/method/textDocument/documentSymbol.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/foldingRange.lua (renamed from script/src/method/textDocument/foldingRange.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/hover.lua (renamed from script/src/method/textDocument/hover.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/implementation.lua (renamed from script/src/method/textDocument/implementation.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/onTypeFormatting.lua (renamed from script/src/method/textDocument/onTypeFormatting.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/publishDiagnostics.lua (renamed from script/src/method/textDocument/publishDiagnostics.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/references.lua (renamed from script/src/method/textDocument/references.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/rename.lua (renamed from script/src/method/textDocument/rename.lua) | 0 | ||||
-rw-r--r-- | script/method/textDocument/signatureHelp.lua (renamed from script/src/method/textDocument/signatureHelp.lua) | 0 | ||||
-rw-r--r-- | script/method/workspace/didChangeConfiguration.lua (renamed from script/src/method/workspace/didChangeConfiguration.lua) | 0 | ||||
-rw-r--r-- | script/method/workspace/didChangeWatchedFiles.lua (renamed from script/src/method/workspace/didChangeWatchedFiles.lua) | 0 | ||||
-rw-r--r-- | script/method/workspace/didChangeWorkspaceFolders.lua (renamed from script/src/method/workspace/didChangeWorkspaceFolders.lua) | 0 | ||||
-rw-r--r-- | script/method/workspace/executeCommand.lua (renamed from script/src/method/workspace/executeCommand.lua) | 0 | ||||
-rw-r--r-- | script/parser/ast.lua (renamed from script/src/parser/ast.lua) | 0 | ||||
-rw-r--r-- | script/parser/calcline.lua (renamed from script/src/parser/calcline.lua) | 0 | ||||
-rw-r--r-- | script/parser/grammar.lua (renamed from script/src/parser/grammar.lua) | 0 | ||||
-rw-r--r-- | script/parser/init.lua (renamed from script/src/parser/init.lua) | 0 | ||||
-rw-r--r-- | script/parser/lines.lua (renamed from script/src/parser/lines.lua) | 0 | ||||
-rw-r--r-- | script/parser/parse.lua (renamed from script/src/parser/parse.lua) | 0 | ||||
-rw-r--r-- | script/parser/relabel.lua (renamed from script/src/parser/relabel.lua) | 0 | ||||
-rw-r--r-- | script/parser/split.lua (renamed from script/src/parser/split.lua) | 0 | ||||
-rw-r--r-- | script/platform.lua | 26 | ||||
-rw-r--r-- | script/plugin.lua (renamed from script/src/plugin.lua) | 0 | ||||
-rw-r--r-- | script/rpc.lua (renamed from script/src/rpc.lua) | 0 | ||||
-rw-r--r-- | script/sandbox.lua (renamed from script/src/sandbox.lua) | 0 | ||||
-rw-r--r-- | script/service.lua (renamed from script/src/service.lua) | 0 | ||||
-rw-r--r-- | script/task.lua (renamed from script/src/task.lua) | 0 | ||||
-rw-r--r-- | script/timer.lua (renamed from script/src/timer.lua) | 0 | ||||
-rw-r--r-- | script/uri.lua (renamed from script/src/uri.lua) | 0 | ||||
-rw-r--r-- | script/utility.lua (renamed from script/src/utility.lua) | 0 | ||||
-rw-r--r-- | script/vm/chain.lua (renamed from script/src/vm/chain.lua) | 0 | ||||
-rw-r--r-- | script/vm/emmy.lua (renamed from script/src/vm/emmy.lua) | 0 | ||||
-rw-r--r-- | script/vm/function.lua (renamed from script/src/vm/function.lua) | 0 | ||||
-rw-r--r-- | script/vm/global.lua (renamed from script/src/vm/global.lua) | 0 | ||||
-rw-r--r-- | script/vm/init.lua (renamed from script/src/vm/init.lua) | 0 | ||||
-rw-r--r-- | script/vm/ipairs.lua (renamed from script/src/vm/ipairs.lua) | 0 | ||||
-rw-r--r-- | script/vm/label.lua (renamed from script/src/vm/label.lua) | 0 | ||||
-rw-r--r-- | script/vm/library.lua (renamed from script/src/vm/library.lua) | 0 | ||||
-rw-r--r-- | script/vm/list.lua (renamed from script/src/vm/list.lua) | 0 | ||||
-rw-r--r-- | script/vm/local.lua (renamed from script/src/vm/local.lua) | 0 | ||||
-rw-r--r-- | script/vm/manager.lua (renamed from script/src/vm/manager.lua) | 0 | ||||
-rw-r--r-- | script/vm/module.lua (renamed from script/src/vm/module.lua) | 0 | ||||
-rw-r--r-- | script/vm/multi.lua (renamed from script/src/vm/multi.lua) | 0 | ||||
-rw-r--r-- | script/vm/pcall.lua (renamed from script/src/vm/pcall.lua) | 0 | ||||
-rw-r--r-- | script/vm/raw.lua (renamed from script/src/vm/raw.lua) | 0 | ||||
-rw-r--r-- | script/vm/source.lua (renamed from script/src/vm/source.lua) | 0 | ||||
-rw-r--r-- | script/vm/special.lua (renamed from script/src/vm/special.lua) | 0 | ||||
-rw-r--r-- | script/vm/value.lua (renamed from script/src/vm/value.lua) | 0 | ||||
-rw-r--r-- | script/vm/vm.lua (renamed from script/src/vm/vm.lua) | 0 | ||||
-rw-r--r-- | script/workspace.lua (renamed from script/src/workspace.lua) | 0 | ||||
-rw-r--r-- | test-beta/completion/init.lua (renamed from script-beta/test/completion/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/crossfile/completion.lua (renamed from script-beta/test/crossfile/completion.lua) | 0 | ||||
-rw-r--r-- | test-beta/crossfile/definition.lua (renamed from script-beta/test/crossfile/definition.lua) | 0 | ||||
-rw-r--r-- | test-beta/crossfile/hover.lua (renamed from script-beta/test/crossfile/hover.lua) | 0 | ||||
-rw-r--r-- | test-beta/crossfile/init.lua (renamed from script-beta/test/crossfile/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/crossfile/references.lua (renamed from script-beta/test/crossfile/references.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/arg.lua (renamed from script-beta/test/definition/arg.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/bug.lua (renamed from script-beta/test/definition/bug.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/call.lua (renamed from script-beta/test/definition/call.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/emmy.lua (renamed from script-beta/test/definition/emmy.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/function.lua (renamed from script-beta/test/definition/function.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/init.lua (renamed from script-beta/test/definition/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/label.lua (renamed from script-beta/test/definition/label.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/local.lua (renamed from script-beta/test/definition/local.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/method.lua (renamed from script-beta/test/definition/method.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/set.lua (renamed from script-beta/test/definition/set.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/special.lua (renamed from script-beta/test/definition/special.lua) | 0 | ||||
-rw-r--r-- | test-beta/definition/table.lua (renamed from script-beta/test/definition/table.lua) | 0 | ||||
-rw-r--r-- | test-beta/diagnostics/init.lua (renamed from script-beta/test/diagnostics/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/document_symbol/init.lua (renamed from script-beta/test/document_symbol/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/example/largeGlobal.txt (renamed from script-beta/test/example/largeGlobal.txt) | 0 | ||||
-rw-r--r-- | test-beta/example/vm.txt (renamed from script-beta/test/example/vm.txt) | 0 | ||||
-rw-r--r-- | test-beta/full/dirty.lua (renamed from script-beta/test/full/dirty.lua) | 0 | ||||
-rw-r--r-- | test-beta/full/example.lua (renamed from script-beta/test/full/example.lua) | 0 | ||||
-rw-r--r-- | test-beta/full/init.lua (renamed from script-beta/test/full/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/full/normal.lua (renamed from script-beta/test/full/normal.lua) | 0 | ||||
-rw-r--r-- | test-beta/highlight/init.lua (renamed from script-beta/test/highlight/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/hover/init.lua (renamed from script-beta/test/hover/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/other/init.lua (renamed from script-beta/test/other/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/references/init.lua (renamed from script-beta/test/references/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/rename/init.lua (renamed from script-beta/test/rename/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/signature/init.lua (renamed from script-beta/test/signature/init.lua) | 0 | ||||
-rw-r--r-- | test-beta/test.lua (renamed from script-beta/test.lua) | 0 | ||||
-rw-r--r-- | test-beta/type_inference/init.lua (renamed from script-beta/test/type_inference/init.lua) | 0 | ||||
-rw-r--r-- | test/completion/init.lua (renamed from script/test/completion/init.lua) | 0 | ||||
-rw-r--r-- | test/crossfile/completion.lua (renamed from script/test/crossfile/completion.lua) | 0 | ||||
-rw-r--r-- | test/crossfile/definition.lua (renamed from script/test/crossfile/definition.lua) | 0 | ||||
-rw-r--r-- | test/crossfile/document_symbol.lua (renamed from script/test/crossfile/document_symbol.lua) | 0 | ||||
-rw-r--r-- | test/crossfile/hover.lua (renamed from script/test/crossfile/hover.lua) | 0 | ||||
-rw-r--r-- | test/crossfile/init.lua (renamed from script/test/crossfile/init.lua) | 0 | ||||
-rw-r--r-- | test/crossfile/references.lua (renamed from script/test/crossfile/references.lua) | 0 | ||||
-rw-r--r-- | test/definition/arg.lua (renamed from script/test/definition/arg.lua) | 0 | ||||
-rw-r--r-- | test/definition/bug.lua (renamed from script/test/definition/bug.lua) | 0 | ||||
-rw-r--r-- | test/definition/emmy.lua (renamed from script/test/definition/emmy.lua) | 0 | ||||
-rw-r--r-- | test/definition/function.lua (renamed from script/test/definition/function.lua) | 0 | ||||
-rw-r--r-- | test/definition/init.lua (renamed from script/test/definition/init.lua) | 0 | ||||
-rw-r--r-- | test/definition/label.lua (renamed from script/test/definition/label.lua) | 0 | ||||
-rw-r--r-- | test/definition/local.lua (renamed from script/test/definition/local.lua) | 0 | ||||
-rw-r--r-- | test/definition/method.lua (renamed from script/test/definition/method.lua) | 0 | ||||
-rw-r--r-- | test/definition/set.lua (renamed from script/test/definition/set.lua) | 0 | ||||
-rw-r--r-- | test/definition/table.lua (renamed from script/test/definition/table.lua) | 0 | ||||
-rw-r--r-- | test/diagnostics/init.lua (renamed from script/test/diagnostics/init.lua) | 0 | ||||
-rw-r--r-- | test/diagnostics/normal.lua (renamed from script/test/diagnostics/normal.lua) | 0 | ||||
-rw-r--r-- | test/diagnostics/syntax.lua (renamed from script/test/diagnostics/syntax.lua) | 0 | ||||
-rw-r--r-- | test/document_symbol/init.lua (renamed from script/test/document_symbol/init.lua) | 0 | ||||
-rw-r--r-- | test/example/largeGlobal.txt (renamed from script/test/example/largeGlobal.txt) | 0 | ||||
-rw-r--r-- | test/example/vm.txt (renamed from script/test/example/vm.txt) | 0 | ||||
-rw-r--r-- | test/find_lib/init.lua (renamed from script/test/find_lib/init.lua) | 0 | ||||
-rw-r--r-- | test/full/dirty.lua (renamed from script/test/full/dirty.lua) | 0 | ||||
-rw-r--r-- | test/full/example.lua (renamed from script/test/full/example.lua) | 0 | ||||
-rw-r--r-- | test/full/init.lua (renamed from script/test/full/init.lua) | 0 | ||||
-rw-r--r-- | test/full/normal.lua (renamed from script/test/full/normal.lua) | 0 | ||||
-rw-r--r-- | test/highlight/init.lua (renamed from script/test/highlight/init.lua) | 0 | ||||
-rw-r--r-- | test/hover/init.lua (renamed from script/test/hover/init.lua) | 0 | ||||
-rw-r--r-- | test/other/init.lua (renamed from script/test/other/init.lua) | 0 | ||||
-rw-r--r-- | test/references/init.lua (renamed from script/test/references/init.lua) | 0 | ||||
-rw-r--r-- | test/rename/init.lua (renamed from script/test/rename/init.lua) | 0 | ||||
-rw-r--r-- | test/signature/init.lua (renamed from script/test/signature/init.lua) | 0 | ||||
-rw-r--r-- | test/test.lua (renamed from script/test.lua) | 0 | ||||
-rw-r--r-- | test/type_inference/init.lua (renamed from script/test/type_inference/init.lua) | 0 |
315 files changed, 32 insertions, 374 deletions
@@ -1,9 +1,3 @@ -node_modules -/client/server -.vscode-test -.vscode/ipch -/server/log -/server-beta/log -/publish +/log/ /build/ !*.exe diff --git a/.vscode/lua-plugin/example.lua b/.vscode/lua-plugin/example.lua deleted file mode 100644 index 0432b162..00000000 --- a/.vscode/lua-plugin/example.lua +++ /dev/null @@ -1,6 +0,0 @@ -function OnRequirePath(literal, raw) - if type(literal) == 'string' then - return literal - end - return raw:match '[^%.]+$' -end diff --git a/log/service.log b/log/service.log deleted file mode 100644 index 9cc3c1d8..00000000 --- a/log/service.log +++ /dev/null @@ -1,133 +0,0 @@ -[2019-11-18 00:53:44.000][info]: [main:14]Lua Lsp startup, root: c:/Users/l/.vscode/extensions/sumneko.lua/server -[2019-11-18 00:53:44.001][debug]: [main:15]ROOT: c:/Users/l/.vscode/extensions/sumneko.lua/server -[2019-11-18 00:53:44.063][info]: [src.language:125]VSC language: zh-cn -[2019-11-18 00:53:44.063][info]: [src.language:126]LS language: zh-cn -[2019-11-18 00:53:44.194][debug]: [src.async.async:55]Create thread, id: 1 task: proto -[2019-11-18 00:53:44.208][debug]: [src.service:791]collectgarbage: 0.014 -[2019-11-18 00:53:44.208][debug]: [src.service:862] -State -Main Mem: [8412.208]kb -#001 Mem: <Unknown> -------------------- -CachedVM: [0] -AlivedVM: [0] -DeadVM: [0] -------------------- -CachedSrc: [0] -AlivedSrc: [1] -DeadSrc: [0] -------------------- -CachedFunc:[0] -AlivedFunc:[0] -DeadFunc: [0] -------------------- -TotalVal: [0] -DeadVal: [0] -------------------- -TotalLoc: [0] -TotalEmmy: [10] - -[2019-11-18 00:53:44.208][debug]: [src.service:904]test memory: 0.000 -[2019-11-18 00:53:44.228][debug]: [src.config:184]Config update: { - completion = { - callSnippet = "Disable", - enable = true, - keywordSnippet = "Replace", - }, - diagnostics = { - disable = { - }, - enable = true, - globals = { - }, - severity = { - ["ambiguity-1"] = "Warning", - ["duplicate-index"] = "Warning", - ["duplicate-method"] = "Warning", - ["emmy-lua"] = "Warning", - ["empty-block"] = "Hint", - ["global-in-nil-env"] = "Warning", - ["lowercase-global"] = "Information", - ["newfield-call"] = "Warning", - ["newline-call"] = "Information", - ["redefined-local"] = "Hint", - ["redundant-parameter"] = "Hint", - ["redundant-value"] = "Hint", - ["set-const"] = "Error", - ["trailing-space"] = "Hint", - ["undefined-env-child"] = "Information", - ["undefined-global"] = "Warning", - ["unused-function"] = "Hint", - ["unused-label"] = "Hint", - ["unused-local"] = "Hint", - ["unused-vararg"] = "Hint", - }, - }, - plugin = { - enable = false, - path = ".vscode/lua-plugin/*.lua", - }, - runtime = { - library = { - }, - path = { - [1] = "?.lua", - [2] = "?/init.lua", - [3] = "?/?.lua", - }, - version = "Lua 5.4", - }, - workspace = { - ignoreDir = { - [".vscode"] = true, - }, - ignoreSubmodules = true, - library = { - }, - maxPreload = 300, - preloadFileSize = 100, - useGitIgnore = true, - }, -} { - associations = { - ["*.lni"] = "lua", - }, - exclude = { - ["**/.DS_Store"] = true, - ["**/.git"] = true, - ["**/.hg"] = true, - ["**/.svn"] = true, - ["**/CVS"] = true, - }, -} -[2019-11-18 00:53:44.314][debug]: [src.service:347]reCompile: 1 1 -[2019-11-18 00:53:44.340][debug]: [src.service:791]collectgarbage: 0.026 -[2019-11-18 00:53:44.340][debug]: [src.service:862] -State -Main Mem: [9383.160]kb -#001 Mem: [96.560]kb -------------------- -CachedVM: [0] -AlivedVM: [0] -DeadVM: [0] -------------------- -CachedSrc: [0] -AlivedSrc: [1] -DeadSrc: [1] -------------------- -CachedFunc:[0] -AlivedFunc:[0] -DeadFunc: [0] -------------------- -TotalVal: [287] -DeadVal: [287] -------------------- -TotalLoc: [0] -TotalEmmy: [10] - -[2019-11-18 00:53:44.340][debug]: [src.service:904]test memory: 0.000 -[2019-11-18 00:53:44.340][debug]: [src.capability.completion:19]Enable completion. -[2019-11-18 00:53:44.340][debug]: [src.async.async:55]Create thread, id: 2 task: loadfile -[2019-11-18 00:53:44.341][info]: [src.workspace:187]Workspace inited, root: e:/Github/test -[2019-11-18 00:53:44.341][info]: [src.workspace:188]Workspace inited, uri: file:///e%3A/Github/test -[2019-11-18 00:53:44.341][info]: [src.workspace:190]Log path: c:/Users/l/.vscode/extensions/sumneko.lua/server/log/file_e%3A_Github_test.log diff --git a/script-beta/main.lua b/main-beta.lua index c674cab6..288b9561 100644 --- a/script-beta/main.lua +++ b/main-beta.lua @@ -1,6 +1,6 @@ local currentPath = debug.getinfo(1, 'S').source:sub(2) local rootPath = currentPath:gsub('[/\\]*[^/\\]-$', '') -dofile(rootPath .. '/platform.lua') +loadfile(rootPath .. '/platform.lua')('script-beta') local fs = require 'bee.filesystem' ROOT = fs.path(rootPath) LANG = LANG or 'en-US' diff --git a/script/main.lua b/main.lua index afb32f03..6a6fba2d 100644 --- a/script/main.lua +++ b/main.lua @@ -1,6 +1,6 @@ local currentPath = debug.getinfo(1, 'S').source:sub(2) local rootPath = currentPath:gsub('[/\\]*[^/\\]-$', '') -dofile(rootPath .. '/platform.lua') +loadfile(rootPath .. '/platform.lua')('script') local fs = require 'bee.filesystem' ROOT = fs.current_path() / rootPath LANG = LANG or 'en-US' diff --git a/platform.lua b/platform.lua new file mode 100644 index 00000000..de461cff --- /dev/null +++ b/platform.lua @@ -0,0 +1,29 @@ +local script = ... +local currentPath = debug.getinfo(1, 'S').source:sub(2) +local rootPath = currentPath:gsub('[^/\\]-$', '') +if package.loadlib(rootPath .. 'bin/Windows/bee.dll', 'luaopen_bee_platform') then + if rootPath == '' then + rootPath = '.\\' + else + rootPath = rootPath:gsub('/', '\\') + end + package.cpath = rootPath .. 'bin\\Windows\\?.dll' + package.path = rootPath .. script .. '\\?.lua' + .. ';' .. rootPath .. script .. '\\?\\init.lua' +elseif package.loadlib(rootPath .. 'bin/macOS/bee.so', 'luaopen_bee_platform') then + if rootPath == '' then + rootPath = './' + end + package.cpath = rootPath .. 'macOS/bin/?.so' + package.path = rootPath .. script .. '/?.lua' + .. ';' .. rootPath .. script .. '/?/init.lua' +elseif package.loadlib(rootPath .. 'bin/Linux/bee.so', 'luaopen_bee_platform') then + if rootPath == '' then + rootPath = './' + end + package.cpath = rootPath .. 'bin/Linux/?.so' + package.path = rootPath .. script .. '/?.lua' + .. ';' .. rootPath .. script .. '/?/init.lua' +else + error([[It doesn't seem to support your OS, please let me know at https://github.com/sumneko/lua-language-server/issues]]) +end diff --git a/script-beta/src/await.lua b/script-beta/await.lua index 5a960e96..5a960e96 100644 --- a/script-beta/src/await.lua +++ b/script-beta/await.lua diff --git a/script-beta/src/brave/brave.lua b/script-beta/brave/brave.lua index 08909074..08909074 100644 --- a/script-beta/src/brave/brave.lua +++ b/script-beta/brave/brave.lua diff --git a/script-beta/src/brave/init.lua b/script-beta/brave/init.lua index 24c2e412..24c2e412 100644 --- a/script-beta/src/brave/init.lua +++ b/script-beta/brave/init.lua diff --git a/script-beta/src/brave/log.lua b/script-beta/brave/log.lua index cd27cd55..cd27cd55 100644 --- a/script-beta/src/brave/log.lua +++ b/script-beta/brave/log.lua diff --git a/script-beta/src/brave/work.lua b/script-beta/brave/work.lua index dba27808..dba27808 100644 --- a/script-beta/src/brave/work.lua +++ b/script-beta/brave/work.lua diff --git a/script-beta/src/config.lua b/script-beta/config.lua index 758402b0..758402b0 100644 --- a/script-beta/src/config.lua +++ b/script-beta/config.lua diff --git a/script-beta/src/core/definition.lua b/script-beta/core/definition.lua index 865fc7cb..865fc7cb 100644 --- a/script-beta/src/core/definition.lua +++ b/script-beta/core/definition.lua diff --git a/script-beta/src/core/diagnostics/ambiguity-1.lua b/script-beta/core/diagnostics/ambiguity-1.lua index 37815fb5..37815fb5 100644 --- a/script-beta/src/core/diagnostics/ambiguity-1.lua +++ b/script-beta/core/diagnostics/ambiguity-1.lua diff --git a/script-beta/src/core/diagnostics/duplicate-index.lua b/script-beta/core/diagnostics/duplicate-index.lua index 76b1c958..76b1c958 100644 --- a/script-beta/src/core/diagnostics/duplicate-index.lua +++ b/script-beta/core/diagnostics/duplicate-index.lua diff --git a/script-beta/src/core/diagnostics/emmy-lua.lua b/script-beta/core/diagnostics/emmy-lua.lua index b3d19c21..b3d19c21 100644 --- a/script-beta/src/core/diagnostics/emmy-lua.lua +++ b/script-beta/core/diagnostics/emmy-lua.lua diff --git a/script-beta/src/core/diagnostics/empty-block.lua b/script-beta/core/diagnostics/empty-block.lua index 2024f4e3..2024f4e3 100644 --- a/script-beta/src/core/diagnostics/empty-block.lua +++ b/script-beta/core/diagnostics/empty-block.lua diff --git a/script-beta/src/core/diagnostics/global-in-nil-env.lua b/script-beta/core/diagnostics/global-in-nil-env.lua index 9a0d4f35..9a0d4f35 100644 --- a/script-beta/src/core/diagnostics/global-in-nil-env.lua +++ b/script-beta/core/diagnostics/global-in-nil-env.lua diff --git a/script-beta/src/core/diagnostics/init.lua b/script-beta/core/diagnostics/init.lua index 0d523f26..0d523f26 100644 --- a/script-beta/src/core/diagnostics/init.lua +++ b/script-beta/core/diagnostics/init.lua diff --git a/script-beta/src/core/diagnostics/lowercase-global.lua b/script-beta/core/diagnostics/lowercase-global.lua index bc48e1e6..bc48e1e6 100644 --- a/script-beta/src/core/diagnostics/lowercase-global.lua +++ b/script-beta/core/diagnostics/lowercase-global.lua diff --git a/script-beta/src/core/diagnostics/newfield-call.lua b/script-beta/core/diagnostics/newfield-call.lua index 75681cbc..75681cbc 100644 --- a/script-beta/src/core/diagnostics/newfield-call.lua +++ b/script-beta/core/diagnostics/newfield-call.lua diff --git a/script-beta/src/core/diagnostics/newline-call.lua b/script-beta/core/diagnostics/newline-call.lua index cb318380..cb318380 100644 --- a/script-beta/src/core/diagnostics/newline-call.lua +++ b/script-beta/core/diagnostics/newline-call.lua diff --git a/script-beta/src/core/diagnostics/redefined-local.lua b/script-beta/core/diagnostics/redefined-local.lua index f6176794..f6176794 100644 --- a/script-beta/src/core/diagnostics/redefined-local.lua +++ b/script-beta/core/diagnostics/redefined-local.lua diff --git a/script-beta/src/core/diagnostics/redundant-parameter.lua b/script-beta/core/diagnostics/redundant-parameter.lua index ec14188e..ec14188e 100644 --- a/script-beta/src/core/diagnostics/redundant-parameter.lua +++ b/script-beta/core/diagnostics/redundant-parameter.lua diff --git a/script-beta/src/core/diagnostics/redundant-value.lua b/script-beta/core/diagnostics/redundant-value.lua index be483448..be483448 100644 --- a/script-beta/src/core/diagnostics/redundant-value.lua +++ b/script-beta/core/diagnostics/redundant-value.lua diff --git a/script-beta/src/core/diagnostics/trailing-space.lua b/script-beta/core/diagnostics/trailing-space.lua index e54a6e60..e54a6e60 100644 --- a/script-beta/src/core/diagnostics/trailing-space.lua +++ b/script-beta/core/diagnostics/trailing-space.lua diff --git a/script-beta/src/core/diagnostics/undefined-env-child.lua b/script-beta/core/diagnostics/undefined-env-child.lua index df096cb8..df096cb8 100644 --- a/script-beta/src/core/diagnostics/undefined-env-child.lua +++ b/script-beta/core/diagnostics/undefined-env-child.lua diff --git a/script-beta/src/core/diagnostics/undefined-global.lua b/script-beta/core/diagnostics/undefined-global.lua index ed81ced3..ed81ced3 100644 --- a/script-beta/src/core/diagnostics/undefined-global.lua +++ b/script-beta/core/diagnostics/undefined-global.lua diff --git a/script-beta/src/core/diagnostics/unused-function.lua b/script-beta/core/diagnostics/unused-function.lua index 6c53cdf7..6c53cdf7 100644 --- a/script-beta/src/core/diagnostics/unused-function.lua +++ b/script-beta/core/diagnostics/unused-function.lua diff --git a/script-beta/src/core/diagnostics/unused-label.lua b/script-beta/core/diagnostics/unused-label.lua index e6d998ba..e6d998ba 100644 --- a/script-beta/src/core/diagnostics/unused-label.lua +++ b/script-beta/core/diagnostics/unused-label.lua diff --git a/script-beta/src/core/diagnostics/unused-local.lua b/script-beta/core/diagnostics/unused-local.lua index 22b2e16b..22b2e16b 100644 --- a/script-beta/src/core/diagnostics/unused-local.lua +++ b/script-beta/core/diagnostics/unused-local.lua diff --git a/script-beta/src/core/diagnostics/unused-vararg.lua b/script-beta/core/diagnostics/unused-vararg.lua index 74cc08e7..74cc08e7 100644 --- a/script-beta/src/core/diagnostics/unused-vararg.lua +++ b/script-beta/core/diagnostics/unused-vararg.lua diff --git a/script-beta/src/core/highlight.lua b/script-beta/core/highlight.lua index 61e3f91a..61e3f91a 100644 --- a/script-beta/src/core/highlight.lua +++ b/script-beta/core/highlight.lua diff --git a/script-beta/src/core/hover/arg.lua b/script-beta/core/hover/arg.lua index be344488..be344488 100644 --- a/script-beta/src/core/hover/arg.lua +++ b/script-beta/core/hover/arg.lua diff --git a/script-beta/src/core/hover/init.lua b/script-beta/core/hover/init.lua index b99c14b2..b99c14b2 100644 --- a/script-beta/src/core/hover/init.lua +++ b/script-beta/core/hover/init.lua diff --git a/script-beta/src/core/hover/label.lua b/script-beta/core/hover/label.lua index 72ce60f4..72ce60f4 100644 --- a/script-beta/src/core/hover/label.lua +++ b/script-beta/core/hover/label.lua diff --git a/script-beta/src/core/hover/name.lua b/script-beta/core/hover/name.lua index a22a8b5a..a22a8b5a 100644 --- a/script-beta/src/core/hover/name.lua +++ b/script-beta/core/hover/name.lua diff --git a/script-beta/src/core/hover/return.lua b/script-beta/core/hover/return.lua index c22626a6..c22626a6 100644 --- a/script-beta/src/core/hover/return.lua +++ b/script-beta/core/hover/return.lua diff --git a/script-beta/src/core/hover/table.lua b/script-beta/core/hover/table.lua index 9ed86692..9ed86692 100644 --- a/script-beta/src/core/hover/table.lua +++ b/script-beta/core/hover/table.lua diff --git a/script-beta/src/core/reference.lua b/script-beta/core/reference.lua index 7e265e97..7e265e97 100644 --- a/script-beta/src/core/reference.lua +++ b/script-beta/core/reference.lua diff --git a/script-beta/src/core/rename.lua b/script-beta/core/rename.lua index 3e4512da..3e4512da 100644 --- a/script-beta/src/core/rename.lua +++ b/script-beta/core/rename.lua diff --git a/script-beta/src/define/DiagnosticDefaultSeverity.lua b/script-beta/define/DiagnosticDefaultSeverity.lua index cc26cab2..cc26cab2 100644 --- a/script-beta/src/define/DiagnosticDefaultSeverity.lua +++ b/script-beta/define/DiagnosticDefaultSeverity.lua diff --git a/script-beta/src/define/DiagnosticSeverity.lua b/script-beta/define/DiagnosticSeverity.lua index 05bd3659..05bd3659 100644 --- a/script-beta/src/define/DiagnosticSeverity.lua +++ b/script-beta/define/DiagnosticSeverity.lua diff --git a/script-beta/src/define/ErrorCodes.lua b/script-beta/define/ErrorCodes.lua index befb5630..befb5630 100644 --- a/script-beta/src/define/ErrorCodes.lua +++ b/script-beta/define/ErrorCodes.lua diff --git a/script-beta/src/doctor.lua b/script-beta/doctor.lua index 08ec69cf..08ec69cf 100644 --- a/script-beta/src/doctor.lua +++ b/script-beta/doctor.lua diff --git a/script-beta/src/file-uri.lua b/script-beta/file-uri.lua index 8acd4f64..8acd4f64 100644 --- a/script-beta/src/file-uri.lua +++ b/script-beta/file-uri.lua diff --git a/script-beta/src/files.lua b/script-beta/files.lua index ac27117c..ac27117c 100644 --- a/script-beta/src/files.lua +++ b/script-beta/files.lua diff --git a/script-beta/src/fs-utility.lua b/script-beta/fs-utility.lua index 14dcb08f..14dcb08f 100644 --- a/script-beta/src/fs-utility.lua +++ b/script-beta/fs-utility.lua diff --git a/script-beta/src/glob/gitignore.lua b/script-beta/glob/gitignore.lua index f98a2f31..f98a2f31 100644 --- a/script-beta/src/glob/gitignore.lua +++ b/script-beta/glob/gitignore.lua diff --git a/script-beta/src/glob/glob.lua b/script-beta/glob/glob.lua index aa8923f3..aa8923f3 100644 --- a/script-beta/src/glob/glob.lua +++ b/script-beta/glob/glob.lua diff --git a/script-beta/src/glob/init.lua b/script-beta/glob/init.lua index 6578a0d4..6578a0d4 100644 --- a/script-beta/src/glob/init.lua +++ b/script-beta/glob/init.lua diff --git a/script-beta/src/glob/matcher.lua b/script-beta/glob/matcher.lua index f4c2b12c..f4c2b12c 100644 --- a/script-beta/src/glob/matcher.lua +++ b/script-beta/glob/matcher.lua diff --git a/script-beta/src/json/decode.lua b/script-beta/json/decode.lua index 36f8aa54..36f8aa54 100644 --- a/script-beta/src/json/decode.lua +++ b/script-beta/json/decode.lua diff --git a/script-beta/src/json/encode.lua b/script-beta/json/encode.lua index 492c5a58..492c5a58 100644 --- a/script-beta/src/json/encode.lua +++ b/script-beta/json/encode.lua diff --git a/script-beta/src/json/init.lua b/script-beta/json/init.lua index c28e7aed..c28e7aed 100644 --- a/script-beta/src/json/init.lua +++ b/script-beta/json/init.lua diff --git a/script-beta/src/jsonrpc.lua b/script-beta/jsonrpc.lua index 5c73f54d..5c73f54d 100644 --- a/script-beta/src/jsonrpc.lua +++ b/script-beta/jsonrpc.lua diff --git a/script-beta/src/language.lua b/script-beta/language.lua index d1a4b4cf..d1a4b4cf 100644 --- a/script-beta/src/language.lua +++ b/script-beta/language.lua diff --git a/script-beta/src/library.lua b/script-beta/library.lua index d4dba7c9..d4dba7c9 100644 --- a/script-beta/src/library.lua +++ b/script-beta/library.lua diff --git a/script-beta/src/log.lua b/script-beta/log.lua index 1a66685a..1a66685a 100644 --- a/script-beta/src/log.lua +++ b/script-beta/log.lua diff --git a/script-beta/src/parser/ast.lua b/script-beta/parser/ast.lua index dfd7656d..dfd7656d 100644 --- a/script-beta/src/parser/ast.lua +++ b/script-beta/parser/ast.lua diff --git a/script-beta/src/parser/calcline.lua b/script-beta/parser/calcline.lua index 26f475d9..26f475d9 100644 --- a/script-beta/src/parser/calcline.lua +++ b/script-beta/parser/calcline.lua diff --git a/script-beta/src/parser/compile.lua b/script-beta/parser/compile.lua index bcd9ecc8..bcd9ecc8 100644 --- a/script-beta/src/parser/compile.lua +++ b/script-beta/parser/compile.lua diff --git a/script-beta/src/parser/emmy.lua b/script-beta/parser/emmy.lua index 4c1e087a..4c1e087a 100644 --- a/script-beta/src/parser/emmy.lua +++ b/script-beta/parser/emmy.lua diff --git a/script-beta/src/parser/grammar.lua b/script-beta/parser/grammar.lua index fd699bd4..fd699bd4 100644 --- a/script-beta/src/parser/grammar.lua +++ b/script-beta/parser/grammar.lua diff --git a/script-beta/src/parser/guide.lua b/script-beta/parser/guide.lua index af511555..af511555 100644 --- a/script-beta/src/parser/guide.lua +++ b/script-beta/parser/guide.lua diff --git a/script-beta/src/parser/init.lua b/script-beta/parser/init.lua index 5eeb0da2..5eeb0da2 100644 --- a/script-beta/src/parser/init.lua +++ b/script-beta/parser/init.lua diff --git a/script-beta/src/parser/lines.lua b/script-beta/parser/lines.lua index c7961d13..c7961d13 100644 --- a/script-beta/src/parser/lines.lua +++ b/script-beta/parser/lines.lua diff --git a/script-beta/src/parser/parse.lua b/script-beta/parser/parse.lua index bbc01b10..bbc01b10 100644 --- a/script-beta/src/parser/parse.lua +++ b/script-beta/parser/parse.lua diff --git a/script-beta/src/parser/relabel.lua b/script-beta/parser/relabel.lua index ac902403..ac902403 100644 --- a/script-beta/src/parser/relabel.lua +++ b/script-beta/parser/relabel.lua diff --git a/script-beta/src/parser/split.lua b/script-beta/parser/split.lua index 6ce4a4e7..6ce4a4e7 100644 --- a/script-beta/src/parser/split.lua +++ b/script-beta/parser/split.lua diff --git a/script-beta/platform.lua b/script-beta/platform.lua deleted file mode 100644 index ed754afc..00000000 --- a/script-beta/platform.lua +++ /dev/null @@ -1,28 +0,0 @@ -local currentPath = debug.getinfo(1, 'S').source:sub(2) -local rootPath = currentPath:gsub('[^/\\]-$', '') -if package.loadlib(rootPath .. 'Windows/bin/bee.dll', 'luaopen_bee_platform') then - if rootPath == '' then - rootPath = '.\\' - else - rootPath = rootPath:gsub('/', '\\') - end - package.cpath = rootPath .. 'Windows\\bin\\?.dll' - package.path = rootPath .. 'src\\?.lua' - .. ';' .. rootPath .. 'src\\?\\init.lua' -elseif package.loadlib(rootPath .. 'macOS/bin/bee.so', 'luaopen_bee_platform') then - if rootPath == '' then - rootPath = './' - end - package.cpath = rootPath .. 'macOS/bin/?.so' - package.path = rootPath .. 'src/?.lua' - .. ';' .. rootPath .. 'src/?/init.lua' -elseif package.loadlib(rootPath .. 'Linux/bin/bee.so', 'luaopen_bee_platform') then - if rootPath == '' then - rootPath = './' - end - package.cpath = rootPath .. 'Linux/bin/?.so' - package.path = rootPath .. 'src/?.lua' - .. ';' .. rootPath .. 'src/?/init.lua' -else - error([[It doesn't seem to support your OS, please let me know at https://github.com/sumneko/lua-language-server/issues]]) -end diff --git a/script-beta/src/proto/define.lua b/script-beta/proto/define.lua index 61c4037c..61c4037c 100644 --- a/script-beta/src/proto/define.lua +++ b/script-beta/proto/define.lua diff --git a/script-beta/src/proto/init.lua b/script-beta/proto/init.lua index 33e637f6..33e637f6 100644 --- a/script-beta/src/proto/init.lua +++ b/script-beta/proto/init.lua diff --git a/script-beta/src/proto/proto.lua b/script-beta/proto/proto.lua index f04653d5..f04653d5 100644 --- a/script-beta/src/proto/proto.lua +++ b/script-beta/proto/proto.lua diff --git a/script-beta/src/provider/capability.lua b/script-beta/provider/capability.lua index aa95c758..aa95c758 100644 --- a/script-beta/src/provider/capability.lua +++ b/script-beta/provider/capability.lua diff --git a/script-beta/src/provider/completion.lua b/script-beta/provider/completion.lua index d2df44d2..d2df44d2 100644 --- a/script-beta/src/provider/completion.lua +++ b/script-beta/provider/completion.lua diff --git a/script-beta/src/provider/diagnostic.lua b/script-beta/provider/diagnostic.lua index ba95f2bf..ba95f2bf 100644 --- a/script-beta/src/provider/diagnostic.lua +++ b/script-beta/provider/diagnostic.lua diff --git a/script-beta/src/provider/init.lua b/script-beta/provider/init.lua index 95f4b3d1..95f4b3d1 100644 --- a/script-beta/src/provider/init.lua +++ b/script-beta/provider/init.lua diff --git a/script-beta/src/provider/markdown.lua b/script-beta/provider/markdown.lua index 0f69ad87..0f69ad87 100644 --- a/script-beta/src/provider/markdown.lua +++ b/script-beta/provider/markdown.lua diff --git a/script-beta/src/pub/init.lua b/script-beta/pub/init.lua index 61b43da7..61b43da7 100644 --- a/script-beta/src/pub/init.lua +++ b/script-beta/pub/init.lua diff --git a/script-beta/src/pub/pub.lua b/script-beta/pub/pub.lua index 2cb1b4e8..2cb1b4e8 100644 --- a/script-beta/src/pub/pub.lua +++ b/script-beta/pub/pub.lua diff --git a/script-beta/src/pub/report.lua b/script-beta/pub/report.lua index edd3ee0e..edd3ee0e 100644 --- a/script-beta/src/pub/report.lua +++ b/script-beta/pub/report.lua diff --git a/script-beta/src/service/init.lua b/script-beta/service/init.lua index eb0bd057..eb0bd057 100644 --- a/script-beta/src/service/init.lua +++ b/script-beta/service/init.lua diff --git a/script-beta/src/service/service.lua b/script-beta/service/service.lua index e1cb604b..e1cb604b 100644 --- a/script-beta/src/service/service.lua +++ b/script-beta/service/service.lua diff --git a/script-beta/src/timer.lua b/script-beta/timer.lua index 1d4343f1..1d4343f1 100644 --- a/script-beta/src/timer.lua +++ b/script-beta/timer.lua diff --git a/script-beta/src/utility.lua b/script-beta/utility.lua index c9defebc..c9defebc 100644 --- a/script-beta/src/utility.lua +++ b/script-beta/utility.lua diff --git a/script-beta/src/vm/dummySource.lua b/script-beta/vm/dummySource.lua index 50ff13e7..50ff13e7 100644 --- a/script-beta/src/vm/dummySource.lua +++ b/script-beta/vm/dummySource.lua diff --git a/script-beta/src/vm/eachDef.lua b/script-beta/vm/eachDef.lua index 0274cbee..0274cbee 100644 --- a/script-beta/src/vm/eachDef.lua +++ b/script-beta/vm/eachDef.lua diff --git a/script-beta/src/vm/eachField.lua b/script-beta/vm/eachField.lua index 1d3d222d..1d3d222d 100644 --- a/script-beta/src/vm/eachField.lua +++ b/script-beta/vm/eachField.lua diff --git a/script-beta/src/vm/eachRef.lua b/script-beta/vm/eachRef.lua index cfb2bef8..cfb2bef8 100644 --- a/script-beta/src/vm/eachRef.lua +++ b/script-beta/vm/eachRef.lua diff --git a/script-beta/src/vm/getGlobal.lua b/script-beta/vm/getGlobal.lua index 373c907e..373c907e 100644 --- a/script-beta/src/vm/getGlobal.lua +++ b/script-beta/vm/getGlobal.lua diff --git a/script-beta/src/vm/getGlobals.lua b/script-beta/vm/getGlobals.lua index 699dd270..699dd270 100644 --- a/script-beta/src/vm/getGlobals.lua +++ b/script-beta/vm/getGlobals.lua diff --git a/script-beta/src/vm/getLibrary.lua b/script-beta/vm/getLibrary.lua index fd05347e..fd05347e 100644 --- a/script-beta/src/vm/getLibrary.lua +++ b/script-beta/vm/getLibrary.lua diff --git a/script-beta/src/vm/getLinks.lua b/script-beta/vm/getLinks.lua index 6875771f..6875771f 100644 --- a/script-beta/src/vm/getLinks.lua +++ b/script-beta/vm/getLinks.lua diff --git a/script-beta/src/vm/getValue.lua b/script-beta/vm/getValue.lua index ee486a54..ee486a54 100644 --- a/script-beta/src/vm/getValue.lua +++ b/script-beta/vm/getValue.lua diff --git a/script-beta/src/vm/init.lua b/script-beta/vm/init.lua index 4249de3d..4249de3d 100644 --- a/script-beta/src/vm/init.lua +++ b/script-beta/vm/init.lua diff --git a/script-beta/src/vm/special.lua b/script-beta/vm/special.lua index e69de29b..e69de29b 100644 --- a/script-beta/src/vm/special.lua +++ b/script-beta/vm/special.lua diff --git a/script-beta/src/vm/vm.lua b/script-beta/vm/vm.lua index 23a691df..23a691df 100644 --- a/script-beta/src/vm/vm.lua +++ b/script-beta/vm/vm.lua diff --git a/script-beta/src/workspace/init.lua b/script-beta/workspace/init.lua index 7cbe15d7..7cbe15d7 100644 --- a/script-beta/src/workspace/init.lua +++ b/script-beta/workspace/init.lua diff --git a/script-beta/src/workspace/workspace.lua b/script-beta/workspace/workspace.lua index 37ec2d7b..37ec2d7b 100644 --- a/script-beta/src/workspace/workspace.lua +++ b/script-beta/workspace/workspace.lua diff --git a/script/src/3rd/lua-uri/uri.lua b/script/3rd/lua-uri/uri.lua index 395edcd9..395edcd9 100644 --- a/script/src/3rd/lua-uri/uri.lua +++ b/script/3rd/lua-uri/uri.lua diff --git a/script/src/3rd/lua-uri/uri/_login.lua b/script/3rd/lua-uri/uri/_login.lua index 4e9e6844..4e9e6844 100644 --- a/script/src/3rd/lua-uri/uri/_login.lua +++ b/script/3rd/lua-uri/uri/_login.lua diff --git a/script/src/3rd/lua-uri/uri/_relative.lua b/script/3rd/lua-uri/uri/_relative.lua index 8cd53ca7..8cd53ca7 100644 --- a/script/src/3rd/lua-uri/uri/_relative.lua +++ b/script/3rd/lua-uri/uri/_relative.lua diff --git a/script/src/3rd/lua-uri/uri/_util.lua b/script/3rd/lua-uri/uri/_util.lua index 16a3b289..16a3b289 100644 --- a/script/src/3rd/lua-uri/uri/_util.lua +++ b/script/3rd/lua-uri/uri/_util.lua diff --git a/script/src/3rd/lua-uri/uri/data.lua b/script/3rd/lua-uri/uri/data.lua index c425621a..c425621a 100644 --- a/script/src/3rd/lua-uri/uri/data.lua +++ b/script/3rd/lua-uri/uri/data.lua diff --git a/script/src/3rd/lua-uri/uri/file.lua b/script/3rd/lua-uri/uri/file.lua index 271cb3ed..271cb3ed 100644 --- a/script/src/3rd/lua-uri/uri/file.lua +++ b/script/3rd/lua-uri/uri/file.lua diff --git a/script/src/3rd/lua-uri/uri/file/unix.lua b/script/3rd/lua-uri/uri/file/unix.lua index 8bd4c942..8bd4c942 100644 --- a/script/src/3rd/lua-uri/uri/file/unix.lua +++ b/script/3rd/lua-uri/uri/file/unix.lua diff --git a/script/src/3rd/lua-uri/uri/file/win32.lua b/script/3rd/lua-uri/uri/file/win32.lua index d4e40243..d4e40243 100644 --- a/script/src/3rd/lua-uri/uri/file/win32.lua +++ b/script/3rd/lua-uri/uri/file/win32.lua diff --git a/script/src/3rd/lua-uri/uri/ftp.lua b/script/3rd/lua-uri/uri/ftp.lua index 2d9e3f6c..2d9e3f6c 100644 --- a/script/src/3rd/lua-uri/uri/ftp.lua +++ b/script/3rd/lua-uri/uri/ftp.lua diff --git a/script/src/3rd/lua-uri/uri/http.lua b/script/3rd/lua-uri/uri/http.lua index 91f7a57f..91f7a57f 100644 --- a/script/src/3rd/lua-uri/uri/http.lua +++ b/script/3rd/lua-uri/uri/http.lua diff --git a/script/src/3rd/lua-uri/uri/https.lua b/script/3rd/lua-uri/uri/https.lua index 0c4c8bc3..0c4c8bc3 100644 --- a/script/src/3rd/lua-uri/uri/https.lua +++ b/script/3rd/lua-uri/uri/https.lua diff --git a/script/src/3rd/lua-uri/uri/pop.lua b/script/3rd/lua-uri/uri/pop.lua index e42d9d41..e42d9d41 100644 --- a/script/src/3rd/lua-uri/uri/pop.lua +++ b/script/3rd/lua-uri/uri/pop.lua diff --git a/script/src/3rd/lua-uri/uri/rtsp.lua b/script/3rd/lua-uri/uri/rtsp.lua index 03c71485..03c71485 100644 --- a/script/src/3rd/lua-uri/uri/rtsp.lua +++ b/script/3rd/lua-uri/uri/rtsp.lua diff --git a/script/src/3rd/lua-uri/uri/rtspu.lua b/script/3rd/lua-uri/uri/rtspu.lua index 16f5e3ee..16f5e3ee 100644 --- a/script/src/3rd/lua-uri/uri/rtspu.lua +++ b/script/3rd/lua-uri/uri/rtspu.lua diff --git a/script/src/3rd/lua-uri/uri/telnet.lua b/script/3rd/lua-uri/uri/telnet.lua index 339e21ee..339e21ee 100644 --- a/script/src/3rd/lua-uri/uri/telnet.lua +++ b/script/3rd/lua-uri/uri/telnet.lua diff --git a/script/src/3rd/lua-uri/uri/urn.lua b/script/3rd/lua-uri/uri/urn.lua index aa4b1776..aa4b1776 100644 --- a/script/src/3rd/lua-uri/uri/urn.lua +++ b/script/3rd/lua-uri/uri/urn.lua diff --git a/script/src/3rd/lua-uri/uri/urn/isbn.lua b/script/3rd/lua-uri/uri/urn/isbn.lua index 5f0bdb69..5f0bdb69 100644 --- a/script/src/3rd/lua-uri/uri/urn/isbn.lua +++ b/script/3rd/lua-uri/uri/urn/isbn.lua diff --git a/script/src/3rd/lua-uri/uri/urn/issn.lua b/script/3rd/lua-uri/uri/urn/issn.lua index c5f37f8c..c5f37f8c 100644 --- a/script/src/3rd/lua-uri/uri/urn/issn.lua +++ b/script/3rd/lua-uri/uri/urn/issn.lua diff --git a/script/src/3rd/lua-uri/uri/urn/oid.lua b/script/3rd/lua-uri/uri/urn/oid.lua index 37110cda..37110cda 100644 --- a/script/src/3rd/lua-uri/uri/urn/oid.lua +++ b/script/3rd/lua-uri/uri/urn/oid.lua diff --git a/script/src/async/async.lua b/script/async/async.lua index 34716502..34716502 100644 --- a/script/src/async/async.lua +++ b/script/async/async.lua diff --git a/script/src/async/init.lua b/script/async/init.lua index 3d75a720..3d75a720 100644 --- a/script/src/async/init.lua +++ b/script/async/init.lua diff --git a/script/src/async/loadfile.lua b/script/async/loadfile.lua index b9d0f41c..b9d0f41c 100644 --- a/script/src/async/loadfile.lua +++ b/script/async/loadfile.lua diff --git a/script/src/async/proto.lua b/script/async/proto.lua index 3e7fcc60..3e7fcc60 100644 --- a/script/src/async/proto.lua +++ b/script/async/proto.lua diff --git a/script/src/async/scanfiles.lua b/script/async/scanfiles.lua index f5249c8e..f5249c8e 100644 --- a/script/src/async/scanfiles.lua +++ b/script/async/scanfiles.lua diff --git a/script/src/capability/completion.lua b/script/capability/completion.lua index 28a6036c..28a6036c 100644 --- a/script/src/capability/completion.lua +++ b/script/capability/completion.lua diff --git a/script/src/capability/init.lua b/script/capability/init.lua index 09eb6a09..09eb6a09 100644 --- a/script/src/capability/init.lua +++ b/script/capability/init.lua diff --git a/script/src/config.lua b/script/config.lua index f58df498..f58df498 100644 --- a/script/src/config.lua +++ b/script/config.lua diff --git a/script/src/constant/DiagnosticDefaultSeverity.lua b/script/constant/DiagnosticDefaultSeverity.lua index b7f07f63..b7f07f63 100644 --- a/script/src/constant/DiagnosticDefaultSeverity.lua +++ b/script/constant/DiagnosticDefaultSeverity.lua diff --git a/script/src/constant/DiagnosticSeverity.lua b/script/constant/DiagnosticSeverity.lua index 05bd3659..05bd3659 100644 --- a/script/src/constant/DiagnosticSeverity.lua +++ b/script/constant/DiagnosticSeverity.lua diff --git a/script/src/constant/DiagnosticTag.lua b/script/constant/DiagnosticTag.lua index 918b7bad..918b7bad 100644 --- a/script/src/constant/DiagnosticTag.lua +++ b/script/constant/DiagnosticTag.lua diff --git a/script/src/core/code_action.lua b/script/core/code_action.lua index 2c1fb14d..2c1fb14d 100644 --- a/script/src/core/code_action.lua +++ b/script/core/code_action.lua diff --git a/script/src/core/completion.lua b/script/core/completion.lua index 756f136b..756f136b 100644 --- a/script/src/core/completion.lua +++ b/script/core/completion.lua diff --git a/script/src/core/definition.lua b/script/core/definition.lua index 8680a29b..8680a29b 100644 --- a/script/src/core/definition.lua +++ b/script/core/definition.lua diff --git a/script/src/core/diagnostics.lua b/script/core/diagnostics.lua index 3b11b818..3b11b818 100644 --- a/script/src/core/diagnostics.lua +++ b/script/core/diagnostics.lua diff --git a/script/src/core/document_symbol.lua b/script/core/document_symbol.lua index 48e01332..48e01332 100644 --- a/script/src/core/document_symbol.lua +++ b/script/core/document_symbol.lua diff --git a/script/src/core/find_lib.lua b/script/core/find_lib.lua index e76549a8..e76549a8 100644 --- a/script/src/core/find_lib.lua +++ b/script/core/find_lib.lua diff --git a/script/src/core/find_source.lua b/script/core/find_source.lua index a64a047e..a64a047e 100644 --- a/script/src/core/find_source.lua +++ b/script/core/find_source.lua diff --git a/script/src/core/folding_range.lua b/script/core/folding_range.lua index e94d1ffe..e94d1ffe 100644 --- a/script/src/core/folding_range.lua +++ b/script/core/folding_range.lua diff --git a/script/src/core/global.lua b/script/core/global.lua index 961ad304..961ad304 100644 --- a/script/src/core/global.lua +++ b/script/core/global.lua diff --git a/script/src/core/highlight.lua b/script/core/highlight.lua index 2073573d..2073573d 100644 --- a/script/src/core/highlight.lua +++ b/script/core/highlight.lua diff --git a/script/src/core/hover/emmy_function.lua b/script/core/hover/emmy_function.lua index 7c87954e..7c87954e 100644 --- a/script/src/core/hover/emmy_function.lua +++ b/script/core/hover/emmy_function.lua diff --git a/script/src/core/hover/function.lua b/script/core/hover/function.lua index 3865f602..3865f602 100644 --- a/script/src/core/hover/function.lua +++ b/script/core/hover/function.lua diff --git a/script/src/core/hover/hover.lua b/script/core/hover/hover.lua index 2ee5cf46..2ee5cf46 100644 --- a/script/src/core/hover/hover.lua +++ b/script/core/hover/hover.lua diff --git a/script/src/core/hover/init.lua b/script/core/hover/init.lua index be5b5632..be5b5632 100644 --- a/script/src/core/hover/init.lua +++ b/script/core/hover/init.lua diff --git a/script/src/core/hover/lib_function.lua b/script/core/hover/lib_function.lua index 06087312..06087312 100644 --- a/script/src/core/hover/lib_function.lua +++ b/script/core/hover/lib_function.lua diff --git a/script/src/core/hover/name.lua b/script/core/hover/name.lua index 763083b9..763083b9 100644 --- a/script/src/core/hover/name.lua +++ b/script/core/hover/name.lua diff --git a/script/src/core/implementation.lua b/script/core/implementation.lua index f51a97ca..f51a97ca 100644 --- a/script/src/core/implementation.lua +++ b/script/core/implementation.lua diff --git a/script/src/core/init.lua b/script/core/init.lua index 213dbaca..213dbaca 100644 --- a/script/src/core/init.lua +++ b/script/core/init.lua diff --git a/script/src/core/library.lua b/script/core/library.lua index d5edad66..d5edad66 100644 --- a/script/src/core/library.lua +++ b/script/core/library.lua diff --git a/script/src/core/matchKey.lua b/script/core/matchKey.lua index b46250cb..b46250cb 100644 --- a/script/src/core/matchKey.lua +++ b/script/core/matchKey.lua diff --git a/script/src/core/name.lua b/script/core/name.lua index 54947974..54947974 100644 --- a/script/src/core/name.lua +++ b/script/core/name.lua diff --git a/script/src/core/references.lua b/script/core/references.lua index 33b38fec..33b38fec 100644 --- a/script/src/core/references.lua +++ b/script/core/references.lua diff --git a/script/src/core/rename.lua b/script/core/rename.lua index 3a2e8532..3a2e8532 100644 --- a/script/src/core/rename.lua +++ b/script/core/rename.lua diff --git a/script/src/core/signature.lua b/script/core/signature.lua index bbe35ffa..bbe35ffa 100644 --- a/script/src/core/signature.lua +++ b/script/core/signature.lua diff --git a/script/src/core/snippet.lua b/script/core/snippet.lua index 7532ce9b..7532ce9b 100644 --- a/script/src/core/snippet.lua +++ b/script/core/snippet.lua diff --git a/script/src/emmy/alias.lua b/script/emmy/alias.lua index be47cb4f..be47cb4f 100644 --- a/script/src/emmy/alias.lua +++ b/script/emmy/alias.lua diff --git a/script/src/emmy/arrayType.lua b/script/emmy/arrayType.lua index c5d73500..c5d73500 100644 --- a/script/src/emmy/arrayType.lua +++ b/script/emmy/arrayType.lua diff --git a/script/src/emmy/class.lua b/script/emmy/class.lua index 6728e2c4..6728e2c4 100644 --- a/script/src/emmy/class.lua +++ b/script/emmy/class.lua diff --git a/script/src/emmy/field.lua b/script/emmy/field.lua index f9e9cbf6..f9e9cbf6 100644 --- a/script/src/emmy/field.lua +++ b/script/emmy/field.lua diff --git a/script/src/emmy/funcType.lua b/script/emmy/funcType.lua index 2c073fe2..2c073fe2 100644 --- a/script/src/emmy/funcType.lua +++ b/script/emmy/funcType.lua diff --git a/script/src/emmy/generic.lua b/script/emmy/generic.lua index 82fd0c4b..82fd0c4b 100644 --- a/script/src/emmy/generic.lua +++ b/script/emmy/generic.lua diff --git a/script/src/emmy/init.lua b/script/emmy/init.lua index 769c9e05..769c9e05 100644 --- a/script/src/emmy/init.lua +++ b/script/emmy/init.lua diff --git a/script/src/emmy/manager.lua b/script/emmy/manager.lua index c80e05df..c80e05df 100644 --- a/script/src/emmy/manager.lua +++ b/script/emmy/manager.lua diff --git a/script/src/emmy/param.lua b/script/emmy/param.lua index 12ac0633..12ac0633 100644 --- a/script/src/emmy/param.lua +++ b/script/emmy/param.lua diff --git a/script/src/emmy/return.lua b/script/emmy/return.lua index 1fc97923..1fc97923 100644 --- a/script/src/emmy/return.lua +++ b/script/emmy/return.lua diff --git a/script/src/emmy/tableType.lua b/script/emmy/tableType.lua index 3882cd61..3882cd61 100644 --- a/script/src/emmy/tableType.lua +++ b/script/emmy/tableType.lua diff --git a/script/src/emmy/type.lua b/script/emmy/type.lua index b7e451b2..b7e451b2 100644 --- a/script/src/emmy/type.lua +++ b/script/emmy/type.lua diff --git a/script/src/emmy/typeUnit.lua b/script/emmy/typeUnit.lua index 73d7ea6b..73d7ea6b 100644 --- a/script/src/emmy/typeUnit.lua +++ b/script/emmy/typeUnit.lua diff --git a/script/src/files/file.lua b/script/files/file.lua index 81aabba5..81aabba5 100644 --- a/script/src/files/file.lua +++ b/script/files/file.lua diff --git a/script/src/files/files.lua b/script/files/files.lua index 88ff7444..88ff7444 100644 --- a/script/src/files/files.lua +++ b/script/files/files.lua diff --git a/script/src/files/init.lua b/script/files/init.lua index e090874d..e090874d 100644 --- a/script/src/files/init.lua +++ b/script/files/init.lua diff --git a/script/src/glob/gitignore.lua b/script/glob/gitignore.lua index f96aa627..f96aa627 100644 --- a/script/src/glob/gitignore.lua +++ b/script/glob/gitignore.lua diff --git a/script/src/glob/glob.lua b/script/glob/glob.lua index aa8923f3..aa8923f3 100644 --- a/script/src/glob/glob.lua +++ b/script/glob/glob.lua diff --git a/script/src/glob/init.lua b/script/glob/init.lua index 6578a0d4..6578a0d4 100644 --- a/script/src/glob/init.lua +++ b/script/glob/init.lua diff --git a/script/src/glob/matcher.lua b/script/glob/matcher.lua index f4c2b12c..f4c2b12c 100644 --- a/script/src/glob/matcher.lua +++ b/script/glob/matcher.lua diff --git a/script/src/json/decode.lua b/script/json/decode.lua index 36f8aa54..36f8aa54 100644 --- a/script/src/json/decode.lua +++ b/script/json/decode.lua diff --git a/script/src/json/encode.lua b/script/json/encode.lua index 97a1680b..97a1680b 100644 --- a/script/src/json/encode.lua +++ b/script/json/encode.lua diff --git a/script/src/json/init.lua b/script/json/init.lua index c28e7aed..c28e7aed 100644 --- a/script/src/json/init.lua +++ b/script/json/init.lua diff --git a/script/src/language.lua b/script/language.lua index 3294c5b2..3294c5b2 100644 --- a/script/src/language.lua +++ b/script/language.lua diff --git a/script/src/log.lua b/script/log.lua index d8e782c0..d8e782c0 100644 --- a/script/src/log.lua +++ b/script/log.lua diff --git a/script/meta/Lua 5.4/basic.lua b/script/meta/Lua 5.4/basic.lua deleted file mode 100644 index 54f74a5c..00000000 --- a/script/meta/Lua 5.4/basic.lua +++ /dev/null @@ -1,145 +0,0 @@ ---- 独立版Lua的启动参数。 -arg = {} - ---- 如果其参数 `v` 的值为假,它就调用 `error`。 ----@overload fun(v:any):any ----@param v any ----@param message any {optional = 'self'} ----@return any -function assert(v, message) end - ----@overload fun() ----@overload fun(opt:GCOption):any ----@param opt GCOption {optional = 'after'} ----@param arg integer {optional = 'self'} ----@return any -function collectgarbage(opt, arg) end - ---- 打开该名字的文件,并执行文件中的 Lua 代码块。 ----@overload fun():any ----@param filename string {optional = 'self', special = 'dofile:1'} ----@return any -function dofile(filename) end - ---- 中止上一次保护函数调用,将错误对象 `message` 返回。 ----@overload fun(message:any) ----@param message any ----@param level integer {optional = 'self'} -function error(message, level) end - ---- 内部储存有全局环境。 -_G = {} - ---- 返回该对象的元表。 ----@param object any ----@return table {name = 'metatable'} -function getmetatable(object) end - ---- 能迭代表 `t` 中序列的键值对。 ----|```lua ----|for i, v in ipairs(t) do ----| -- body ----|end ----|``` ----@param t table ----@return {name = 'iterator'} ----@return table {name = 't'} ----@return integer {name = 'i'} -function ipairs(t) - --- 返回该键的下一个键及其关联的值。 - ---@overload fun(t:table):integer,any - ---@param t table - ---@param index any {optional = 'self'} - ---@return integer {name = 'index'} - ---@return any {name = 'value'} - local function iterator(t, index) end - - return iterator, t, nil -end - ---- 加载一个代码块。 ----@overload fun():function,string ----@overload fun(chunk:string|function):function,string ----@overload fun(chunk:string|function, chunkname:string):function,string ----@overload fun(chunk:string|function, chunkname:string, mode:loadOption):function,string ----@param chunk string|function ----@param chunkname string {optional = 'after'} ----@param mode loadOption {optional = 'after'} ----@param env table {optional = 'self'} ----@return {name = 'init'} ----@return string {name = 'errMessage', optional = 'self'} -function load(chunk, chunkname, mode, env) - return function (...) end -end - ---- 从文件中获取代码块。 ----@overload fun():function,string ----@overload fun(filename:string):function,string ----@overload fun(filename:string, mode:loadOption):function,string ----@param filename string {optional = 'after', special = 'loadfile:1'} ----@param mode loadOption {optional = 'after'} ----@param env table {optional = 'self'} ----@return {name = 'init'} ----@return string {name = 'errMessage', optional = 'self'} -function loadfile(filename, mode, env) - return function (...) end -end - ---- 返回该键的下一个键及其关联的值。 ----@overload fun(t:table):any, any ----@param t table ----@param index any {optional = 'self'} ----@return any {name = 'key'} ----@return any {name = 'value'} -function next(t, index) end - ---- 能迭代表 `t` 中的所有键值对。 ----|```lua ----|for k, v in pairs(t) do ----| -- body ----|end ----|``` ----@param t table ----@return {name = 'next'} ----@return table {name = 't'} ----@return any {name = 'key'} -function pairs(t) - --- 返回该键的下一个键及其关联的值。 - ---@overload fun(t:table):any, any - ---@param t table - ---@param index any {optional = 'self'} - ---@return any {name = 'key'} - ---@return any {name = 'value'} - local function next(t, index) end - - return next, t, nil -end - ---- 传入参数,以 *保护模式* 调用函数 `f` 。 ----@param f function {special = 'pcall:1'} ----@param arg1 any {optional = 'after'} ----@return boolean {name = 'success'} ----@return {name = 'result'} -function pcall(f, arg1, ...) -end - ---- 接收任意数量的参数,并将它们的值打印到 `stdout`。 -function print(...) -end - ---- 在不触发任何元方法的情况下 检查 `v1` 是否和 `v2` 相等。 ----@param v1 any ----@param v2 any ----@return boolean -function rawequal(v1, v2) -end - ---- 加载一个模块,返回该模块的返回值(`nil`时为`true`)。 ----@param modname string {special = 'require:1'} ----@return any ----@return {name = 'loaderdata'} -function require(modname) -end - ---- 当前解释器版本号。 -_VERSION = 'Lua 5.4' diff --git a/script/meta/Lua 5.4/meta.lua b/script/meta/Lua 5.4/meta.lua deleted file mode 100644 index 4fe28af2..00000000 --- a/script/meta/Lua 5.4/meta.lua +++ /dev/null @@ -1,27 +0,0 @@ ----@class any ----@class string any ----@class number any ----@class integer number ----@class boolean any ----@class table any ----@class function any ----@class nil any ----@class userdata any ----@class thread any - ----@alias GCOption string ----| > '"collect"' # 做一次完整的垃圾收集循环。 ----| '"stop"' # 停止垃圾收集器的运行。 ----| '"restart"' # 重启垃圾收集器的自动运行。 ----| '"count"' # 以 K 字节数为单位返回 Lua 使用的总内存数。 ----| '"step"' # 单步运行垃圾收集器。 ----| '"setpause"' # 设置收集器的 `间歇率`。 ----| '"setstepmul"' # 设置收集器的 `步进倍率`。 ----| '"incremental"' # 改变收集器模式为增量模式。 ----| '"generational"' # 改变收集器模式为分代模式。 ----| '"isrunning"' # 返回表示收集器是否在工作的布尔值。 - ----@alias loadOption string ----| "'b'" # 只能是二进制代码块。 ----| "'t'" # 只能是文本代码块。 ----| > "'bt'" # 可以是二进制也可以是文本。 diff --git a/script/src/meta/type.lua b/script/meta/type.lua index 9b47d5bc..9b47d5bc 100644 --- a/script/src/meta/type.lua +++ b/script/meta/type.lua diff --git a/script/src/method/exit.lua b/script/method/exit.lua index fa550243..fa550243 100644 --- a/script/src/method/exit.lua +++ b/script/method/exit.lua diff --git a/script/src/method/init.lua b/script/method/init.lua index 8827768b..8827768b 100644 --- a/script/src/method/init.lua +++ b/script/method/init.lua diff --git a/script/src/method/initialize.lua b/script/method/initialize.lua index 02a96695..02a96695 100644 --- a/script/src/method/initialize.lua +++ b/script/method/initialize.lua diff --git a/script/src/method/initialized.lua b/script/method/initialized.lua index d84a2159..d84a2159 100644 --- a/script/src/method/initialized.lua +++ b/script/method/initialized.lua diff --git a/script/src/method/shutdown.lua b/script/method/shutdown.lua index bb81306e..bb81306e 100644 --- a/script/src/method/shutdown.lua +++ b/script/method/shutdown.lua diff --git a/script/src/method/textDocument/codeAction.lua b/script/method/textDocument/codeAction.lua index 3c6e8d49..3c6e8d49 100644 --- a/script/src/method/textDocument/codeAction.lua +++ b/script/method/textDocument/codeAction.lua diff --git a/script/src/method/textDocument/completion.lua b/script/method/textDocument/completion.lua index 4c7581df..4c7581df 100644 --- a/script/src/method/textDocument/completion.lua +++ b/script/method/textDocument/completion.lua diff --git a/script/src/method/textDocument/definition.lua b/script/method/textDocument/definition.lua index dbf9e41c..dbf9e41c 100644 --- a/script/src/method/textDocument/definition.lua +++ b/script/method/textDocument/definition.lua diff --git a/script/src/method/textDocument/didChange.lua b/script/method/textDocument/didChange.lua index 82e6c096..82e6c096 100644 --- a/script/src/method/textDocument/didChange.lua +++ b/script/method/textDocument/didChange.lua diff --git a/script/src/method/textDocument/didClose.lua b/script/method/textDocument/didClose.lua index 589b212f..589b212f 100644 --- a/script/src/method/textDocument/didClose.lua +++ b/script/method/textDocument/didClose.lua diff --git a/script/src/method/textDocument/didOpen.lua b/script/method/textDocument/didOpen.lua index e2a67fd2..e2a67fd2 100644 --- a/script/src/method/textDocument/didOpen.lua +++ b/script/method/textDocument/didOpen.lua diff --git a/script/src/method/textDocument/documentHighlight.lua b/script/method/textDocument/documentHighlight.lua index 377ffcdf..377ffcdf 100644 --- a/script/src/method/textDocument/documentHighlight.lua +++ b/script/method/textDocument/documentHighlight.lua diff --git a/script/src/method/textDocument/documentSymbol.lua b/script/method/textDocument/documentSymbol.lua index a4b0c3b7..a4b0c3b7 100644 --- a/script/src/method/textDocument/documentSymbol.lua +++ b/script/method/textDocument/documentSymbol.lua diff --git a/script/src/method/textDocument/foldingRange.lua b/script/method/textDocument/foldingRange.lua index 0320b422..0320b422 100644 --- a/script/src/method/textDocument/foldingRange.lua +++ b/script/method/textDocument/foldingRange.lua diff --git a/script/src/method/textDocument/hover.lua b/script/method/textDocument/hover.lua index f8dba27c..f8dba27c 100644 --- a/script/src/method/textDocument/hover.lua +++ b/script/method/textDocument/hover.lua diff --git a/script/src/method/textDocument/implementation.lua b/script/method/textDocument/implementation.lua index 14e2f24c..14e2f24c 100644 --- a/script/src/method/textDocument/implementation.lua +++ b/script/method/textDocument/implementation.lua diff --git a/script/src/method/textDocument/onTypeFormatting.lua b/script/method/textDocument/onTypeFormatting.lua index fc9cbdc9..fc9cbdc9 100644 --- a/script/src/method/textDocument/onTypeFormatting.lua +++ b/script/method/textDocument/onTypeFormatting.lua diff --git a/script/src/method/textDocument/publishDiagnostics.lua b/script/method/textDocument/publishDiagnostics.lua index c767e934..c767e934 100644 --- a/script/src/method/textDocument/publishDiagnostics.lua +++ b/script/method/textDocument/publishDiagnostics.lua diff --git a/script/src/method/textDocument/references.lua b/script/method/textDocument/references.lua index 0a198323..0a198323 100644 --- a/script/src/method/textDocument/references.lua +++ b/script/method/textDocument/references.lua diff --git a/script/src/method/textDocument/rename.lua b/script/method/textDocument/rename.lua index 6da9c721..6da9c721 100644 --- a/script/src/method/textDocument/rename.lua +++ b/script/method/textDocument/rename.lua diff --git a/script/src/method/textDocument/signatureHelp.lua b/script/method/textDocument/signatureHelp.lua index 01d6289d..01d6289d 100644 --- a/script/src/method/textDocument/signatureHelp.lua +++ b/script/method/textDocument/signatureHelp.lua diff --git a/script/src/method/workspace/didChangeConfiguration.lua b/script/method/workspace/didChangeConfiguration.lua index ecaa9182..ecaa9182 100644 --- a/script/src/method/workspace/didChangeConfiguration.lua +++ b/script/method/workspace/didChangeConfiguration.lua diff --git a/script/src/method/workspace/didChangeWatchedFiles.lua b/script/method/workspace/didChangeWatchedFiles.lua index 3ce68924..3ce68924 100644 --- a/script/src/method/workspace/didChangeWatchedFiles.lua +++ b/script/method/workspace/didChangeWatchedFiles.lua diff --git a/script/src/method/workspace/didChangeWorkspaceFolders.lua b/script/method/workspace/didChangeWorkspaceFolders.lua index 01a28abd..01a28abd 100644 --- a/script/src/method/workspace/didChangeWorkspaceFolders.lua +++ b/script/method/workspace/didChangeWorkspaceFolders.lua diff --git a/script/src/method/workspace/executeCommand.lua b/script/method/workspace/executeCommand.lua index cfa4023e..cfa4023e 100644 --- a/script/src/method/workspace/executeCommand.lua +++ b/script/method/workspace/executeCommand.lua diff --git a/script/src/parser/ast.lua b/script/parser/ast.lua index 38cd8576..38cd8576 100644 --- a/script/src/parser/ast.lua +++ b/script/parser/ast.lua diff --git a/script/src/parser/calcline.lua b/script/parser/calcline.lua index 26f475d9..26f475d9 100644 --- a/script/src/parser/calcline.lua +++ b/script/parser/calcline.lua diff --git a/script/src/parser/grammar.lua b/script/parser/grammar.lua index 568b8544..568b8544 100644 --- a/script/src/parser/grammar.lua +++ b/script/parser/grammar.lua diff --git a/script/src/parser/init.lua b/script/parser/init.lua index 30596dbe..30596dbe 100644 --- a/script/src/parser/init.lua +++ b/script/parser/init.lua diff --git a/script/src/parser/lines.lua b/script/parser/lines.lua index f2f076e1..f2f076e1 100644 --- a/script/src/parser/lines.lua +++ b/script/parser/lines.lua diff --git a/script/src/parser/parse.lua b/script/parser/parse.lua index 6ad79d9b..6ad79d9b 100644 --- a/script/src/parser/parse.lua +++ b/script/parser/parse.lua diff --git a/script/src/parser/relabel.lua b/script/parser/relabel.lua index ac902403..ac902403 100644 --- a/script/src/parser/relabel.lua +++ b/script/parser/relabel.lua diff --git a/script/src/parser/split.lua b/script/parser/split.lua index 6ce4a4e7..6ce4a4e7 100644 --- a/script/src/parser/split.lua +++ b/script/parser/split.lua diff --git a/script/platform.lua b/script/platform.lua deleted file mode 100644 index 5384ad3d..00000000 --- a/script/platform.lua +++ /dev/null @@ -1,26 +0,0 @@ -local currentPath = debug.getinfo(1, 'S').source:sub(2) -local rootPath = currentPath:gsub('[^/\\]-$', '') -if package.loadlib(rootPath .. 'Windows/bin/bee.dll', 'luaopen_bee_platform') then - if rootPath == '' then - rootPath = '.\\' - end - package.cpath = rootPath .. 'Windows\\bin\\?.dll' - package.path = rootPath .. 'src\\?.lua' - .. ';' .. rootPath .. 'src\\?\\init.lua' -elseif package.loadlib(rootPath .. 'macOS/bin/bee.so', 'luaopen_bee_platform') then - if rootPath == '' then - rootPath = './' - end - package.cpath = rootPath .. 'macOS/bin/?.so' - package.path = rootPath .. 'src/?.lua' - .. ';' .. rootPath .. 'src/?/init.lua' -elseif package.loadlib(rootPath .. 'Linux/bin/bee.so', 'luaopen_bee_platform') then - if rootPath == '' then - rootPath = './' - end - package.cpath = rootPath .. 'Linux/bin/?.so' - package.path = rootPath .. 'src/?.lua' - .. ';' .. rootPath .. 'src/?/init.lua' -else - error([[It doesn't seem to support your OS, please let me know at https://github.com/sumneko/lua-language-server/issues]]) -end diff --git a/script/src/plugin.lua b/script/plugin.lua index eba224d6..eba224d6 100644 --- a/script/src/plugin.lua +++ b/script/plugin.lua diff --git a/script/src/rpc.lua b/script/rpc.lua index 4a495695..4a495695 100644 --- a/script/src/rpc.lua +++ b/script/rpc.lua diff --git a/script/src/sandbox.lua b/script/sandbox.lua index 6b2f2a32..6b2f2a32 100644 --- a/script/src/sandbox.lua +++ b/script/sandbox.lua diff --git a/script/src/service.lua b/script/service.lua index 2d8a3e64..2d8a3e64 100644 --- a/script/src/service.lua +++ b/script/service.lua diff --git a/script/src/task.lua b/script/task.lua index bb1a7922..bb1a7922 100644 --- a/script/src/task.lua +++ b/script/task.lua diff --git a/script/src/timer.lua b/script/timer.lua index dc36e6a0..dc36e6a0 100644 --- a/script/src/timer.lua +++ b/script/timer.lua diff --git a/script/src/uri.lua b/script/uri.lua index 9053447c..9053447c 100644 --- a/script/src/uri.lua +++ b/script/uri.lua diff --git a/script/src/utility.lua b/script/utility.lua index d7fc9dde..d7fc9dde 100644 --- a/script/src/utility.lua +++ b/script/utility.lua diff --git a/script/src/vm/chain.lua b/script/vm/chain.lua index 6e7c6ac7..6e7c6ac7 100644 --- a/script/src/vm/chain.lua +++ b/script/vm/chain.lua diff --git a/script/src/vm/emmy.lua b/script/vm/emmy.lua index 9342a851..9342a851 100644 --- a/script/src/vm/emmy.lua +++ b/script/vm/emmy.lua diff --git a/script/src/vm/function.lua b/script/vm/function.lua index 1ba01363..1ba01363 100644 --- a/script/src/vm/function.lua +++ b/script/vm/function.lua diff --git a/script/src/vm/global.lua b/script/vm/global.lua index af30ffdd..af30ffdd 100644 --- a/script/src/vm/global.lua +++ b/script/vm/global.lua diff --git a/script/src/vm/init.lua b/script/vm/init.lua index 87576ba5..87576ba5 100644 --- a/script/src/vm/init.lua +++ b/script/vm/init.lua diff --git a/script/src/vm/ipairs.lua b/script/vm/ipairs.lua index cb8356da..cb8356da 100644 --- a/script/src/vm/ipairs.lua +++ b/script/vm/ipairs.lua diff --git a/script/src/vm/label.lua b/script/vm/label.lua index c0e0dfb8..c0e0dfb8 100644 --- a/script/src/vm/label.lua +++ b/script/vm/label.lua diff --git a/script/src/vm/library.lua b/script/vm/library.lua index 018d69f3..018d69f3 100644 --- a/script/src/vm/library.lua +++ b/script/vm/library.lua diff --git a/script/src/vm/list.lua b/script/vm/list.lua index 234f241f..234f241f 100644 --- a/script/src/vm/list.lua +++ b/script/vm/list.lua diff --git a/script/src/vm/local.lua b/script/vm/local.lua index 7e8af0f1..7e8af0f1 100644 --- a/script/src/vm/local.lua +++ b/script/vm/local.lua diff --git a/script/src/vm/manager.lua b/script/vm/manager.lua index b9762d2e..b9762d2e 100644 --- a/script/src/vm/manager.lua +++ b/script/vm/manager.lua diff --git a/script/src/vm/module.lua b/script/vm/module.lua index 60191bf3..60191bf3 100644 --- a/script/src/vm/module.lua +++ b/script/vm/module.lua diff --git a/script/src/vm/multi.lua b/script/vm/multi.lua index 4b27b8cf..4b27b8cf 100644 --- a/script/src/vm/multi.lua +++ b/script/vm/multi.lua diff --git a/script/src/vm/pcall.lua b/script/vm/pcall.lua index e5d1e26f..e5d1e26f 100644 --- a/script/src/vm/pcall.lua +++ b/script/vm/pcall.lua diff --git a/script/src/vm/raw.lua b/script/vm/raw.lua index f8c35734..f8c35734 100644 --- a/script/src/vm/raw.lua +++ b/script/vm/raw.lua diff --git a/script/src/vm/source.lua b/script/vm/source.lua index 7a10a38e..7a10a38e 100644 --- a/script/src/vm/source.lua +++ b/script/vm/source.lua diff --git a/script/src/vm/special.lua b/script/vm/special.lua index e93c4445..e93c4445 100644 --- a/script/src/vm/special.lua +++ b/script/vm/special.lua diff --git a/script/src/vm/value.lua b/script/vm/value.lua index 5de0d8e8..5de0d8e8 100644 --- a/script/src/vm/value.lua +++ b/script/vm/value.lua diff --git a/script/src/vm/vm.lua b/script/vm/vm.lua index 36ad78c9..36ad78c9 100644 --- a/script/src/vm/vm.lua +++ b/script/vm/vm.lua diff --git a/script/src/workspace.lua b/script/workspace.lua index f9b243ad..f9b243ad 100644 --- a/script/src/workspace.lua +++ b/script/workspace.lua diff --git a/script-beta/test/completion/init.lua b/test-beta/completion/init.lua index 12600e58..12600e58 100644 --- a/script-beta/test/completion/init.lua +++ b/test-beta/completion/init.lua diff --git a/script-beta/test/crossfile/completion.lua b/test-beta/crossfile/completion.lua index cb9f2f65..cb9f2f65 100644 --- a/script-beta/test/crossfile/completion.lua +++ b/test-beta/crossfile/completion.lua diff --git a/script-beta/test/crossfile/definition.lua b/test-beta/crossfile/definition.lua index 7cf12c74..7cf12c74 100644 --- a/script-beta/test/crossfile/definition.lua +++ b/test-beta/crossfile/definition.lua diff --git a/script-beta/test/crossfile/hover.lua b/test-beta/crossfile/hover.lua index 1d4328e1..1d4328e1 100644 --- a/script-beta/test/crossfile/hover.lua +++ b/test-beta/crossfile/hover.lua diff --git a/script-beta/test/crossfile/init.lua b/test-beta/crossfile/init.lua index c67b3b8f..c67b3b8f 100644 --- a/script-beta/test/crossfile/init.lua +++ b/test-beta/crossfile/init.lua diff --git a/script-beta/test/crossfile/references.lua b/test-beta/crossfile/references.lua index a1747dac..a1747dac 100644 --- a/script-beta/test/crossfile/references.lua +++ b/test-beta/crossfile/references.lua diff --git a/script-beta/test/definition/arg.lua b/test-beta/definition/arg.lua index 9e88b2bf..9e88b2bf 100644 --- a/script-beta/test/definition/arg.lua +++ b/test-beta/definition/arg.lua diff --git a/script-beta/test/definition/bug.lua b/test-beta/definition/bug.lua index 823db46d..823db46d 100644 --- a/script-beta/test/definition/bug.lua +++ b/test-beta/definition/bug.lua diff --git a/script-beta/test/definition/call.lua b/test-beta/definition/call.lua index 42502f40..42502f40 100644 --- a/script-beta/test/definition/call.lua +++ b/test-beta/definition/call.lua diff --git a/script-beta/test/definition/emmy.lua b/test-beta/definition/emmy.lua index ee8fa6a7..ee8fa6a7 100644 --- a/script-beta/test/definition/emmy.lua +++ b/test-beta/definition/emmy.lua diff --git a/script-beta/test/definition/function.lua b/test-beta/definition/function.lua index ce20f50b..ce20f50b 100644 --- a/script-beta/test/definition/function.lua +++ b/test-beta/definition/function.lua diff --git a/script-beta/test/definition/init.lua b/test-beta/definition/init.lua index 645765a2..645765a2 100644 --- a/script-beta/test/definition/init.lua +++ b/test-beta/definition/init.lua diff --git a/script-beta/test/definition/label.lua b/test-beta/definition/label.lua index 205915b6..205915b6 100644 --- a/script-beta/test/definition/label.lua +++ b/test-beta/definition/label.lua diff --git a/script-beta/test/definition/local.lua b/test-beta/definition/local.lua index 4153bfa0..4153bfa0 100644 --- a/script-beta/test/definition/local.lua +++ b/test-beta/definition/local.lua diff --git a/script-beta/test/definition/method.lua b/test-beta/definition/method.lua index aa7aacdc..aa7aacdc 100644 --- a/script-beta/test/definition/method.lua +++ b/test-beta/definition/method.lua diff --git a/script-beta/test/definition/set.lua b/test-beta/definition/set.lua index f36be078..f36be078 100644 --- a/script-beta/test/definition/set.lua +++ b/test-beta/definition/set.lua diff --git a/script-beta/test/definition/special.lua b/test-beta/definition/special.lua index 6bbf104c..6bbf104c 100644 --- a/script-beta/test/definition/special.lua +++ b/test-beta/definition/special.lua diff --git a/script-beta/test/definition/table.lua b/test-beta/definition/table.lua index 34078413..34078413 100644 --- a/script-beta/test/definition/table.lua +++ b/test-beta/definition/table.lua diff --git a/script-beta/test/diagnostics/init.lua b/test-beta/diagnostics/init.lua index 0a38bce9..0a38bce9 100644 --- a/script-beta/test/diagnostics/init.lua +++ b/test-beta/diagnostics/init.lua diff --git a/script-beta/test/document_symbol/init.lua b/test-beta/document_symbol/init.lua index f677d857..f677d857 100644 --- a/script-beta/test/document_symbol/init.lua +++ b/test-beta/document_symbol/init.lua diff --git a/script-beta/test/example/largeGlobal.txt b/test-beta/example/largeGlobal.txt index 23c93d6a..23c93d6a 100644 --- a/script-beta/test/example/largeGlobal.txt +++ b/test-beta/example/largeGlobal.txt diff --git a/script-beta/test/example/vm.txt b/test-beta/example/vm.txt index f2f4144d..f2f4144d 100644 --- a/script-beta/test/example/vm.txt +++ b/test-beta/example/vm.txt diff --git a/script-beta/test/full/dirty.lua b/test-beta/full/dirty.lua index 5fe4e998..5fe4e998 100644 --- a/script-beta/test/full/dirty.lua +++ b/test-beta/full/dirty.lua diff --git a/script-beta/test/full/example.lua b/test-beta/full/example.lua index 5b096655..5b096655 100644 --- a/script-beta/test/full/example.lua +++ b/test-beta/full/example.lua diff --git a/script-beta/test/full/init.lua b/test-beta/full/init.lua index f370671e..f370671e 100644 --- a/script-beta/test/full/init.lua +++ b/test-beta/full/init.lua diff --git a/script-beta/test/full/normal.lua b/test-beta/full/normal.lua index a673e74b..a673e74b 100644 --- a/script-beta/test/full/normal.lua +++ b/test-beta/full/normal.lua diff --git a/script-beta/test/highlight/init.lua b/test-beta/highlight/init.lua index 0b916fd1..0b916fd1 100644 --- a/script-beta/test/highlight/init.lua +++ b/test-beta/highlight/init.lua diff --git a/script-beta/test/hover/init.lua b/test-beta/hover/init.lua index 6a1c275b..6a1c275b 100644 --- a/script-beta/test/hover/init.lua +++ b/test-beta/hover/init.lua diff --git a/script-beta/test/other/init.lua b/test-beta/other/init.lua index 069a2454..069a2454 100644 --- a/script-beta/test/other/init.lua +++ b/test-beta/other/init.lua diff --git a/script-beta/test/references/init.lua b/test-beta/references/init.lua index 951ff516..951ff516 100644 --- a/script-beta/test/references/init.lua +++ b/test-beta/references/init.lua diff --git a/script-beta/test/rename/init.lua b/test-beta/rename/init.lua index a1595d9a..a1595d9a 100644 --- a/script-beta/test/rename/init.lua +++ b/test-beta/rename/init.lua diff --git a/script-beta/test/signature/init.lua b/test-beta/signature/init.lua index a2a647e7..a2a647e7 100644 --- a/script-beta/test/signature/init.lua +++ b/test-beta/signature/init.lua diff --git a/script-beta/test.lua b/test-beta/test.lua index dc1023d6..dc1023d6 100644 --- a/script-beta/test.lua +++ b/test-beta/test.lua diff --git a/script-beta/test/type_inference/init.lua b/test-beta/type_inference/init.lua index f509ca3f..f509ca3f 100644 --- a/script-beta/test/type_inference/init.lua +++ b/test-beta/type_inference/init.lua diff --git a/script/test/completion/init.lua b/test/completion/init.lua index 76c0d910..76c0d910 100644 --- a/script/test/completion/init.lua +++ b/test/completion/init.lua diff --git a/script/test/crossfile/completion.lua b/test/crossfile/completion.lua index cb9f2f65..cb9f2f65 100644 --- a/script/test/crossfile/completion.lua +++ b/test/crossfile/completion.lua diff --git a/script/test/crossfile/definition.lua b/test/crossfile/definition.lua index c765d98a..c765d98a 100644 --- a/script/test/crossfile/definition.lua +++ b/test/crossfile/definition.lua diff --git a/script/test/crossfile/document_symbol.lua b/test/crossfile/document_symbol.lua index 997d42c5..997d42c5 100644 --- a/script/test/crossfile/document_symbol.lua +++ b/test/crossfile/document_symbol.lua diff --git a/script/test/crossfile/hover.lua b/test/crossfile/hover.lua index b0e5a55f..b0e5a55f 100644 --- a/script/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua diff --git a/script/test/crossfile/init.lua b/test/crossfile/init.lua index 96462fa5..96462fa5 100644 --- a/script/test/crossfile/init.lua +++ b/test/crossfile/init.lua diff --git a/script/test/crossfile/references.lua b/test/crossfile/references.lua index 9f81707c..9f81707c 100644 --- a/script/test/crossfile/references.lua +++ b/test/crossfile/references.lua diff --git a/script/test/definition/arg.lua b/test/definition/arg.lua index 9e88b2bf..9e88b2bf 100644 --- a/script/test/definition/arg.lua +++ b/test/definition/arg.lua diff --git a/script/test/definition/bug.lua b/test/definition/bug.lua index 1d3ab02c..1d3ab02c 100644 --- a/script/test/definition/bug.lua +++ b/test/definition/bug.lua diff --git a/script/test/definition/emmy.lua b/test/definition/emmy.lua index ee8fa6a7..ee8fa6a7 100644 --- a/script/test/definition/emmy.lua +++ b/test/definition/emmy.lua diff --git a/script/test/definition/function.lua b/test/definition/function.lua index ce20f50b..ce20f50b 100644 --- a/script/test/definition/function.lua +++ b/test/definition/function.lua diff --git a/script/test/definition/init.lua b/test/definition/init.lua index 022b1d3b..022b1d3b 100644 --- a/script/test/definition/init.lua +++ b/test/definition/init.lua diff --git a/script/test/definition/label.lua b/test/definition/label.lua index 4859d70e..4859d70e 100644 --- a/script/test/definition/label.lua +++ b/test/definition/label.lua diff --git a/script/test/definition/local.lua b/test/definition/local.lua index 4153bfa0..4153bfa0 100644 --- a/script/test/definition/local.lua +++ b/test/definition/local.lua diff --git a/script/test/definition/method.lua b/test/definition/method.lua index 08b56f61..08b56f61 100644 --- a/script/test/definition/method.lua +++ b/test/definition/method.lua diff --git a/script/test/definition/set.lua b/test/definition/set.lua index 44277d33..44277d33 100644 --- a/script/test/definition/set.lua +++ b/test/definition/set.lua diff --git a/script/test/definition/table.lua b/test/definition/table.lua index 90e7926f..90e7926f 100644 --- a/script/test/definition/table.lua +++ b/test/definition/table.lua diff --git a/script/test/diagnostics/init.lua b/test/diagnostics/init.lua index eee03d2e..eee03d2e 100644 --- a/script/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua diff --git a/script/test/diagnostics/normal.lua b/test/diagnostics/normal.lua index 5fdc3ba8..5fdc3ba8 100644 --- a/script/test/diagnostics/normal.lua +++ b/test/diagnostics/normal.lua diff --git a/script/test/diagnostics/syntax.lua b/test/diagnostics/syntax.lua index 887d05f0..887d05f0 100644 --- a/script/test/diagnostics/syntax.lua +++ b/test/diagnostics/syntax.lua diff --git a/script/test/document_symbol/init.lua b/test/document_symbol/init.lua index f677d857..f677d857 100644 --- a/script/test/document_symbol/init.lua +++ b/test/document_symbol/init.lua diff --git a/script/test/example/largeGlobal.txt b/test/example/largeGlobal.txt index 23c93d6a..23c93d6a 100644 --- a/script/test/example/largeGlobal.txt +++ b/test/example/largeGlobal.txt diff --git a/script/test/example/vm.txt b/test/example/vm.txt index f2f4144d..f2f4144d 100644 --- a/script/test/example/vm.txt +++ b/test/example/vm.txt diff --git a/script/test/find_lib/init.lua b/test/find_lib/init.lua index 51f53b75..51f53b75 100644 --- a/script/test/find_lib/init.lua +++ b/test/find_lib/init.lua diff --git a/script/test/full/dirty.lua b/test/full/dirty.lua index 5fe4e998..5fe4e998 100644 --- a/script/test/full/dirty.lua +++ b/test/full/dirty.lua diff --git a/script/test/full/example.lua b/test/full/example.lua index a096f83d..a096f83d 100644 --- a/script/test/full/example.lua +++ b/test/full/example.lua diff --git a/script/test/full/init.lua b/test/full/init.lua index 3d0661cb..3d0661cb 100644 --- a/script/test/full/init.lua +++ b/test/full/init.lua diff --git a/script/test/full/normal.lua b/test/full/normal.lua index a673e74b..a673e74b 100644 --- a/script/test/full/normal.lua +++ b/test/full/normal.lua diff --git a/script/test/highlight/init.lua b/test/highlight/init.lua index 6b8ab355..6b8ab355 100644 --- a/script/test/highlight/init.lua +++ b/test/highlight/init.lua diff --git a/script/test/hover/init.lua b/test/hover/init.lua index 362ec9ac..362ec9ac 100644 --- a/script/test/hover/init.lua +++ b/test/hover/init.lua diff --git a/script/test/other/init.lua b/test/other/init.lua index 069a2454..069a2454 100644 --- a/script/test/other/init.lua +++ b/test/other/init.lua diff --git a/script/test/references/init.lua b/test/references/init.lua index 44cd5ab0..44cd5ab0 100644 --- a/script/test/references/init.lua +++ b/test/references/init.lua diff --git a/script/test/rename/init.lua b/test/rename/init.lua index 646401a0..646401a0 100644 --- a/script/test/rename/init.lua +++ b/test/rename/init.lua diff --git a/script/test/signature/init.lua b/test/signature/init.lua index d5bc19c0..d5bc19c0 100644 --- a/script/test/signature/init.lua +++ b/test/signature/init.lua diff --git a/script/test.lua b/test/test.lua index 5e238049..5e238049 100644 --- a/script/test.lua +++ b/test/test.lua diff --git a/script/test/type_inference/init.lua b/test/type_inference/init.lua index 59d853eb..59d853eb 100644 --- a/script/test/type_inference/init.lua +++ b/test/type_inference/init.lua |