-
-
Save flrgh/d5f2a729dc88c320d19ee1576f0bb568 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[START][2022-05-16 13:32:02] LSP logging initiated | |
[INFO][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:261 "Starting RPC client" { | |
args = {}, | |
cmd = "lua-language-server", | |
extra = { | |
cwd = "/home/flrgh/git/kong/kong" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 1, | |
jsonrpc = "2.0", | |
method = "initialize", | |
params = { | |
capabilities = { | |
callHierarchy = { | |
dynamicRegistration = false | |
}, | |
textDocument = { | |
codeAction = { | |
codeActionLiteralSupport = { | |
codeActionKind = { | |
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } | |
} | |
}, | |
dataSupport = true, | |
dynamicRegistration = false, | |
resolveSupport = { | |
properties = { "edit" } | |
} | |
}, | |
completion = { | |
completionItem = { | |
commitCharactersSupport = false, | |
deprecatedSupport = false, | |
documentationFormat = { "markdown", "plaintext" }, | |
preselectSupport = false, | |
snippetSupport = false | |
}, | |
completionItemKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } | |
}, | |
contextSupport = false, | |
dynamicRegistration = false | |
}, | |
declaration = { | |
linkSupport = true | |
}, | |
definition = { | |
linkSupport = true | |
}, | |
documentHighlight = { | |
dynamicRegistration = false | |
}, | |
documentSymbol = { | |
dynamicRegistration = false, | |
hierarchicalDocumentSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
hover = { | |
contentFormat = { "markdown", "plaintext" }, | |
dynamicRegistration = false | |
}, | |
implementation = { | |
linkSupport = true | |
}, | |
publishDiagnostics = { | |
relatedInformation = true, | |
tagSupport = { | |
valueSet = { 1, 2 } | |
} | |
}, | |
references = { | |
dynamicRegistration = false | |
}, | |
rename = { | |
dynamicRegistration = false, | |
prepareSupport = true | |
}, | |
signatureHelp = { | |
dynamicRegistration = false, | |
signatureInformation = { | |
activeParameterSupport = true, | |
documentationFormat = { "markdown", "plaintext" }, | |
parameterInformation = { | |
labelOffsetSupport = true | |
} | |
} | |
}, | |
synchronization = { | |
didSave = true, | |
dynamicRegistration = false, | |
willSave = false, | |
willSaveWaitUntil = false | |
}, | |
typeDefinition = { | |
linkSupport = true | |
} | |
}, | |
window = { | |
showDocument = { | |
support = false | |
}, | |
showMessage = { | |
messageActionItem = { | |
additionalPropertiesSupport = false | |
} | |
}, | |
workDoneProgress = true | |
}, | |
workspace = { | |
applyEdit = true, | |
configuration = true, | |
symbol = { | |
dynamicRegistration = false, | |
hierarchicalWorkspaceSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
workspaceEdit = { | |
resourceOperations = { "rename", "create", "delete" } | |
}, | |
workspaceFolders = true | |
} | |
}, | |
clientInfo = { | |
name = "Neovim", | |
version = "0.7.0" | |
}, | |
initializationOptions = {}, | |
processId = 3907455, | |
rootPath = "/home/flrgh/git/kong/kong", | |
rootUri = "file:///home/flrgh/git/kong/kong", | |
trace = "off", | |
workspaceFolders = { { | |
name = "/home/flrgh/git/kong/kong", | |
uri = "file:///home/flrgh/git/kong/kong" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "window/logMessage", | |
params = { | |
message = "Log path: file:///home/flrgh/.cache/nvim/lua-lsp/log/file_home_flrgh_git_kong_kong.log", | |
type = 4 | |
} | |
} | |
[INFO][2022-05-16 13:32:02] ...lsp/handlers.lua:458 "Log path: file:///home/flrgh/.cache/nvim/lua-lsp/log/file_home_flrgh_git_kong_kong.log" | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 1, | |
jsonrpc = "2.0", | |
result = { | |
capabilities = { | |
codeActionProvider = { | |
codeActionKinds = { "", "quickfix", "refactor.rewrite", "refactor.extract" }, | |
resolveProvider = false | |
}, | |
completionProvider = { | |
resolveProvider = true, | |
triggerCharacters = { "\t", "\n", ".", ":", "(", "'", '"', "[", ",", "#", "*", "@", "|", "=", "-", "{", " ", "+", "?" } | |
}, | |
definitionProvider = true, | |
documentFormattingProvider = true, | |
documentHighlightProvider = true, | |
documentOnTypeFormattingProvider = { | |
firstTriggerCharacter = "\n" | |
}, | |
documentRangeFormattingProvider = true, | |
documentSymbolProvider = true, | |
executeCommandProvider = { | |
commands = { "lua.removeSpace", "lua.solve", "lua.jsonToLua", "lua.setConfig", "lua.autoRequire" } | |
}, | |
foldingRangeProvider = true, | |
hoverProvider = true, | |
inlayHintProvider = { | |
resolveProvider = true | |
}, | |
offsetEncoding = "utf-16", | |
referencesProvider = true, | |
renameProvider = { | |
prepareProvider = true | |
}, | |
semanticTokensProvider = { | |
full = true, | |
legend = { | |
tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, | |
tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator" } | |
}, | |
range = true | |
}, | |
signatureHelpProvider = { | |
triggerCharacters = { "(", "," } | |
}, | |
textDocumentSync = { | |
change = 2, | |
openClose = true | |
}, | |
typeDefinitionProvider = true, | |
workspaceSymbolProvider = true | |
}, | |
serverInfo = { | |
name = "sumneko.lua" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/report", | |
params = { | |
text = "😺Lua", | |
tooltip = "Workspace : /home/flrgh/git/kong/kong\nCached files: 0/0\nMemory usage: 2M" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "initialized", | |
params = {} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "workspace/didChangeConfiguration", | |
params = { | |
settings = { | |
Lua = { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
} | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../lua/vim/lsp.lua:982 "LSP[sumneko_lua]" "server_capabilities" { | |
codeActionProvider = { | |
codeActionKinds = { "", "quickfix", "refactor.rewrite", "refactor.extract" }, | |
resolveProvider = false | |
}, | |
completionProvider = { | |
resolveProvider = true, | |
triggerCharacters = { "\t", "\n", ".", ":", "(", "'", '"', "[", ",", "#", "*", "@", "|", "=", "-", "{", " ", "+", "?" } | |
}, | |
definitionProvider = true, | |
documentFormattingProvider = true, | |
documentHighlightProvider = true, | |
documentOnTypeFormattingProvider = { | |
firstTriggerCharacter = "\n" | |
}, | |
documentRangeFormattingProvider = true, | |
documentSymbolProvider = true, | |
executeCommandProvider = { | |
commands = { "lua.removeSpace", "lua.solve", "lua.jsonToLua", "lua.setConfig", "lua.autoRequire" } | |
}, | |
foldingRangeProvider = true, | |
hoverProvider = true, | |
inlayHintProvider = { | |
resolveProvider = true | |
}, | |
offsetEncoding = "utf-16", | |
referencesProvider = true, | |
renameProvider = { | |
prepareProvider = true | |
}, | |
semanticTokensProvider = { | |
full = true, | |
legend = { | |
tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, | |
tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator" } | |
}, | |
range = true | |
}, | |
signatureHelpProvider = { | |
triggerCharacters = { "(", "," } | |
}, | |
textDocumentSync = { | |
change = 2, | |
openClose = true | |
}, | |
typeDefinitionProvider = true, | |
workspaceSymbolProvider = true | |
} | |
[INFO][2022-05-16 13:32:02] .../lua/vim/lsp.lua:983 "LSP[sumneko_lua]" "initialized" { | |
resolved_capabilities = { | |
call_hierarchy = false, | |
code_action = { | |
codeActionKinds = { "", "quickfix", "refactor.rewrite", "refactor.extract" }, | |
resolveProvider = false | |
}, | |
code_lens = false, | |
code_lens_resolve = false, | |
completion = true, | |
declaration = false, | |
document_formatting = true, | |
document_highlight = true, | |
document_range_formatting = true, | |
document_symbol = true, | |
execute_command = true, | |
find_references = true, | |
goto_definition = true, | |
hover = true, | |
implementation = false, | |
rename = true, | |
signature_help = true, | |
signature_help_trigger_characters = { "(", "," }, | |
text_document_did_change = 2, | |
text_document_open_close = true, | |
text_document_save = false, | |
text_document_save_include_text = false, | |
text_document_will_save = false, | |
text_document_will_save_wait_until = false, | |
type_definition = true, | |
workspace_folder_properties = { | |
changeNotifications = false, | |
supported = false | |
}, | |
workspace_symbol = true | |
} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "textDocument/didOpen", | |
params = { | |
textDocument = { | |
languageId = "lua", | |
text = 'local _M = {}\n\nlocal split = require("kong.tools.utils").split\n\n\n-- This is a very naive forward proxy, which accepts a CONNECT over HTTP, and\n-- then starts tunnelling the bytes blind (for end-to-end SSL).\nfunction _M.connect()\n\n local req_sock = ngx.req.socket(true)\n req_sock:settimeouts(1000, 1000, 1000)\n\n -- receive request line\n local req_line = req_sock:receive()\n ngx.log(ngx.DEBUG, "request line: ", req_line)\n\n local method, host_port = unpack(split(req_line, " "))\n if method ~= "CONNECT" then\n return ngx.exit(400)\n end\n\n local upstream_host, upstream_port = unpack(split(host_port, ":"))\n\n -- receive and discard any headers\n repeat\n local line = req_sock:receive("*l")\n ngx.log(ngx.DEBUG, "request header: ", line)\n until ngx.re.find(line, "^\\\\s*$", "jo")\n\n -- Connect to requested upstream\n local upstream_sock = ngx.socket.tcp()\n upstream_sock:settimeouts(1000, 1000, 1000)\n local ok, err = upstream_sock:connect(upstream_host, upstream_port)\n if not ok then\n ngx.log(ngx.ERR, "connect to upstream ", upstream_host, ":", upstream_port,\n " failed: ", err)\n return ngx.exit(504)\n end\n\n -- Tell the client we are good to go\n ngx.print("HTTP/1.1 200 OK\\n\\n")\n ngx.flush()\n\n -- 10Kb in either direction should be plenty\n local max_bytes = 10 * 1024\n\n repeat\n local req_data = req_sock:receiveany(max_bytes)\n if req_data then\n ngx.log(ngx.DEBUG, "client RCV ", #req_data, " bytes")\n\n local bytes, err = upstream_sock:send(req_data)\n if bytes then\n ngx.log(ngx.DEBUG, "upstream SND ", bytes, " bytes")\n elseif err then\n ngx.log(ngx.ERR, "upstream SND failed: ", err)\n end\n end\n\n local res_data = upstream_sock:receiveany(max_bytes)\n if res_data then\n ngx.log(ngx.DEBUG, "upstream RCV ", #res_data, " bytes")\n\n local bytes, err = req_sock:send(res_data)\n if bytes then\n ngx.log(ngx.DEBUG, "client SND: ", bytes, " bytes")\n elseif err then\n ngx.log(ngx.ERR, "client SND failed: ", err)\n end\n end\n until not req_data and not res_data -- request socket should be closed\n\n upstream_sock:close()\nend\n\nreturn _M\n', | |
uri = "file:///home/flrgh/git/kong/kong/spec/fixtures/forward-proxy-server.lua", | |
version = 0 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 1, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "Lua" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "files.associations" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "files.exclude" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "editor.semanticHighlighting.enabled" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "editor.acceptSuggestionOnEnter" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL }, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 1, | |
jsonrpc = "2.0", | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL } | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 2, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "Lua" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "files.associations" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "files.exclude" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "editor.semanticHighlighting.enabled" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "editor.acceptSuggestionOnEnter" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL }, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:02] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 2, | |
jsonrpc = "2.0", | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL } | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 3, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
section = "Lua" | |
}, { | |
section = "files.associations" | |
}, { | |
section = "files.exclude" | |
}, { | |
section = "editor.semanticHighlighting.enabled" | |
}, { | |
section = "editor.acceptSuggestionOnEnter" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL }, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 3, | |
jsonrpc = "2.0", | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL } | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 4, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
section = "Lua" | |
}, { | |
section = "files.associations" | |
}, { | |
section = "files.exclude" | |
}, { | |
section = "editor.semanticHighlighting.enabled" | |
}, { | |
section = "editor.acceptSuggestionOnEnter" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL }, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 4, | |
jsonrpc = "2.0", | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL } | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/show" | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/show" | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/show" | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/show" | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 5, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 2 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
cancellable = false, | |
kind = "begin", | |
message = "88/557", | |
percentage = 15, | |
title = "Loading workspace" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 5, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 6, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 3 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
cancellable = false, | |
kind = "begin", | |
message = "90/222", | |
percentage = 40, | |
title = "Loading workspace" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 6, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "94/222", | |
percentage = 42 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "94/557", | |
percentage = 16 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "106/222", | |
percentage = 47 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "105/557", | |
percentage = 18 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/report", | |
params = { | |
text = "$(loading~spin)Lua", | |
tooltip = "Workspace : /home/flrgh/git/kong/kong\nCached files: 125/125\nMemory usage: 31M" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "112/222", | |
percentage = 50 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "112/557", | |
percentage = 19 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "120/557", | |
percentage = 21 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:03] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "121/222", | |
percentage = 54 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "129/557", | |
percentage = 22 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "130/222", | |
percentage = 58 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "136/557", | |
percentage = 24 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "137/222", | |
percentage = 61 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "144/557", | |
percentage = 25 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "145/222", | |
percentage = 65 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "152/557", | |
percentage = 27 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "154/222", | |
percentage = 68 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "160/222", | |
percentage = 71 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "160/557", | |
percentage = 28 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "165/222", | |
percentage = 74 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "166/557", | |
percentage = 29 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "172/557", | |
percentage = 30 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "173/222", | |
percentage = 77 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "174/222", | |
percentage = 78 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "174/557", | |
percentage = 31 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "183/557", | |
percentage = 32 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "183/222", | |
percentage = 82 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "189/222", | |
percentage = 85 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "189/557", | |
percentage = 33 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "201/557", | |
percentage = 35 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "201/222", | |
percentage = 90 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "210/222", | |
percentage = 94 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "210/557", | |
percentage = 37 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "222/222", | |
percentage = 99 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "222/557", | |
percentage = 39 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "246/557", | |
percentage = 43 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/report", | |
params = { | |
text = "$(loading~spin)Lua", | |
tooltip = "Workspace : /home/flrgh/git/kong/kong\nCached files: 388/388\nMemory usage: 142M" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "261/557", | |
percentage = 46 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:04] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "280/557", | |
percentage = 50 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "309/557", | |
percentage = 55 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "330/557", | |
percentage = 59 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "355/557", | |
percentage = 63 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "381/557", | |
percentage = 68 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "404/557", | |
percentage = 72 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "426/557", | |
percentage = 76 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "441/557", | |
percentage = 79 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "462/557", | |
percentage = 82 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "493/557", | |
percentage = 88 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "521/557", | |
percentage = 93 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "543/557", | |
percentage = 97 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "report", | |
message = "544/557", | |
percentage = 97 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 2, | |
value = { | |
kind = "end" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/spec/fixtures/forward-proxy-server.lua", | |
version = 0 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = { { | |
code = "redefined-local", | |
message = "Redefined local `err`.", | |
range = { | |
end = { | |
character = 22, | |
line = 51 | |
}, | |
start = { | |
character = 19, | |
line = 51 | |
} | |
}, | |
relatedInformation = { { | |
location = { | |
range = { | |
end = { | |
character = 15, | |
line = 32 | |
}, | |
start = { | |
character = 12, | |
line = 32 | |
} | |
}, | |
uri = "file:///home/flrgh/git/kong/kong/spec/fixtures/forward-proxy-server.lua" | |
}, | |
message = "" | |
} }, | |
severity = 4, | |
source = "Lua Diagnostics." | |
}, { | |
code = "redefined-local", | |
message = "Redefined local `err`.", | |
range = { | |
end = { | |
character = 22, | |
line = 63 | |
}, | |
start = { | |
character = 19, | |
line = 63 | |
} | |
}, | |
relatedInformation = { { | |
location = { | |
range = { | |
end = { | |
character = 15, | |
line = 32 | |
}, | |
start = { | |
character = 12, | |
line = 32 | |
} | |
}, | |
uri = "file:///home/flrgh/git/kong/kong/spec/fixtures/forward-proxy-server.lua" | |
}, | |
message = "" | |
} }, | |
severity = 4, | |
source = "Lua Diagnostics." | |
}, { | |
code = "missing-parameter", | |
message = "the function received at least 1 arguments, but got 0.", | |
range = { | |
end = { | |
character = 13, | |
line = 41 | |
}, | |
start = { | |
character = 2, | |
line = 41 | |
} | |
}, | |
severity = 2, | |
source = "Lua Diagnostics." | |
}, { | |
code = "missing-parameter", | |
message = "the function received at least 2 arguments, but got 1.", | |
range = { | |
end = { | |
character = 37, | |
line = 13 | |
}, | |
start = { | |
character = 19, | |
line = 13 | |
} | |
}, | |
severity = 2, | |
source = "Lua Diagnostics." | |
} }, | |
uri = "file:///home/flrgh/git/kong/kong/spec/fixtures/forward-proxy-server.lua", | |
version = 0 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "222/222", | |
percentage = 100 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "end" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/plugins/post-function/migrations/init.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:05] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/report", | |
params = { | |
text = "😺Lua", | |
tooltip = "Workspace : /home/flrgh/git/kong/kong\nCached files: 693/693\nMemory usage: 159M" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 7, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 705 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 7, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 705, | |
value = { | |
cancellable = false, | |
kind = "begin", | |
message = "kong/plugins/post-function/migrations/init.lua", | |
percentage = 0, | |
title = "Diagnosing" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 8, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 700 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 700, | |
value = { | |
cancellable = true, | |
kind = "begin", | |
message = "2/693", | |
percentage = 0, | |
title = "Diagnosing workspace" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 9, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 704 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 704, | |
value = { | |
cancellable = false, | |
kind = "begin", | |
message = "kong/plugins/post-function/migrations/init.lua", | |
percentage = 0, | |
title = "Diagnosing" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 10, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 701 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 701, | |
value = { | |
cancellable = true, | |
kind = "begin", | |
message = "2/557", | |
percentage = 0, | |
title = "Diagnosing workspace" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 704, | |
value = { | |
kind = "end" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/spec/fixtures/custom_vaults/kong/vaults/mock/init.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 705, | |
value = { | |
kind = "end" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/plugins/key-auth/daos.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/plugins/pre-function/migrations/init.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/cmd/version.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/pdk/service.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 8, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 9, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 10, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/tools/timestamp.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/meta.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/plugins/proxy-cache/api.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/plugins/http-log/handler.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/db/errors.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/spec/fixtures/custom_plugins/kong/plugins/ctx-checker/schema.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/spec/fixtures/custom_vaults/kong/vaults/mock/schema.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/plugins/file-log/handler.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///home/flrgh/git/kong/kong/kong/pdk/log.lua" | |
} | |
} | |
[DEBUG][2022-05-16 13:32:06] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/report", | |
params = { | |
text = "😺Lua", | |
tooltip = "Workspace : /home/flrgh/git/kong/kong\nCached files: 693/693\nMemory usage: 160M" | |
} | |
} | |
[INFO][2022-05-16 13:32:08] .../lua/vim/lsp.lua:1392 "exit_handler" { { | |
_on_attach = <function 1>, | |
attached_buffers = { true }, | |
cancel_request = <function 2>, | |
commands = {}, | |
config = { | |
_on_attach = <function 3>, | |
autostart = true, | |
capabilities = { | |
callHierarchy = { | |
dynamicRegistration = false | |
}, | |
textDocument = { | |
codeAction = { | |
codeActionLiteralSupport = { | |
codeActionKind = { | |
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } | |
} | |
}, | |
dataSupport = true, | |
dynamicRegistration = false, | |
resolveSupport = { | |
properties = { "edit" } | |
} | |
}, | |
completion = { | |
completionItem = { | |
commitCharactersSupport = false, | |
deprecatedSupport = false, | |
documentationFormat = { "markdown", "plaintext" }, | |
preselectSupport = false, | |
snippetSupport = false | |
}, | |
completionItemKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } | |
}, | |
contextSupport = false, | |
dynamicRegistration = false | |
}, | |
declaration = { | |
linkSupport = true | |
}, | |
definition = { | |
linkSupport = true | |
}, | |
documentHighlight = { | |
dynamicRegistration = false | |
}, | |
documentSymbol = { | |
dynamicRegistration = false, | |
hierarchicalDocumentSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
hover = { | |
contentFormat = { "markdown", "plaintext" }, | |
dynamicRegistration = false | |
}, | |
implementation = { | |
linkSupport = true | |
}, | |
publishDiagnostics = { | |
relatedInformation = true, | |
tagSupport = { | |
valueSet = { 1, 2 } | |
} | |
}, | |
references = { | |
dynamicRegistration = false | |
}, | |
rename = { | |
dynamicRegistration = false, | |
prepareSupport = true | |
}, | |
signatureHelp = { | |
dynamicRegistration = false, | |
signatureInformation = { | |
activeParameterSupport = true, | |
documentationFormat = { "markdown", "plaintext" }, | |
parameterInformation = { | |
labelOffsetSupport = true | |
} | |
} | |
}, | |
synchronization = { | |
didSave = true, | |
dynamicRegistration = false, | |
willSave = false, | |
willSaveWaitUntil = false | |
}, | |
typeDefinition = { | |
linkSupport = true | |
} | |
}, | |
window = { | |
showDocument = { | |
support = false | |
}, | |
showMessage = { | |
messageActionItem = { | |
additionalPropertiesSupport = false | |
} | |
}, | |
workDoneProgress = true | |
}, | |
workspace = { | |
applyEdit = true, | |
configuration = true, | |
symbol = { | |
dynamicRegistration = false, | |
hierarchicalWorkspaceSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
workspaceEdit = { | |
resourceOperations = { "rename", "create", "delete" } | |
}, | |
workspaceFolders = true | |
} | |
}, | |
cmd = { "lua-language-server" }, | |
cmd_cwd = "/home/flrgh/git/kong/kong", | |
filetypes = { "lua" }, | |
flags = {}, | |
get_language_id = <function 4>, | |
handlers = <1>{}, | |
init_options = {}, | |
log_level = 2, | |
message_level = 2, | |
name = "sumneko_lua", | |
on_attach = <function 5>, | |
on_exit = <function 6>, | |
on_init = <function 7>, | |
root_dir = "/home/flrgh/git/kong/kong", | |
settings = { | |
Lua = { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
} | |
}, | |
single_file_support = true, | |
workspace_folders = <2>{ { | |
name = "/home/flrgh/git/kong/kong", | |
uri = "file:///home/flrgh/git/kong/kong" | |
} } | |
}, | |
handlers = <table 1>, | |
id = 1, | |
initialized = true, | |
is_stopped = <function 8>, | |
messages = { | |
messages = {}, | |
name = "sumneko_lua", | |
progress = { | |
[2] = {}, | |
[3] = {}, | |
[700] = {}, | |
[701] = {}, | |
[704] = {}, | |
[705] = {} | |
}, | |
status = {} | |
}, | |
name = "sumneko_lua", | |
notify = <function 9>, | |
offset_encoding = "utf-16", | |
request = <function 10>, | |
request_sync = <function 11>, | |
requests = {}, | |
resolved_capabilities = { | |
call_hierarchy = false, | |
code_action = <3>{ | |
codeActionKinds = { "", "quickfix", "refactor.rewrite", "refactor.extract" }, | |
resolveProvider = false | |
}, | |
code_lens = false, | |
code_lens_resolve = false, | |
completion = true, | |
declaration = false, | |
document_formatting = true, | |
document_highlight = true, | |
document_range_formatting = true, | |
document_symbol = true, | |
execute_command = true, | |
find_references = true, | |
goto_definition = true, | |
hover = true, | |
implementation = false, | |
rename = true, | |
signature_help = true, | |
signature_help_trigger_characters = <4>{ "(", "," }, | |
text_document_did_change = 2, | |
text_document_open_close = true, | |
text_document_save = false, | |
text_document_save_include_text = false, | |
text_document_will_save = false, | |
text_document_will_save_wait_until = false, | |
type_definition = true, | |
workspace_folder_properties = { | |
changeNotifications = false, | |
supported = false | |
}, | |
workspace_symbol = true | |
}, | |
rpc = { | |
handle = <userdata 1>, | |
notify = <function 12>, | |
pid = 3907477, | |
request = <function 13> | |
}, | |
server_capabilities = { | |
codeActionProvider = <table 3>, | |
completionProvider = { | |
resolveProvider = true, | |
triggerCharacters = { "\t", "\n", ".", ":", "(", "'", '"', "[", ",", "#", "*", "@", "|", "=", "-", "{", " ", "+", "?" } | |
}, | |
definitionProvider = true, | |
documentFormattingProvider = true, | |
documentHighlightProvider = true, | |
documentOnTypeFormattingProvider = { | |
firstTriggerCharacter = "\n" | |
}, | |
documentRangeFormattingProvider = true, | |
documentSymbolProvider = true, | |
executeCommandProvider = { | |
commands = { "lua.removeSpace", "lua.solve", "lua.jsonToLua", "lua.setConfig", "lua.autoRequire" } | |
}, | |
foldingRangeProvider = true, | |
hoverProvider = true, | |
inlayHintProvider = { | |
resolveProvider = true | |
}, | |
offsetEncoding = "utf-16", | |
referencesProvider = true, | |
renameProvider = { | |
prepareProvider = true | |
}, | |
semanticTokensProvider = { | |
full = true, | |
legend = { | |
tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, | |
tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator" } | |
}, | |
range = true | |
}, | |
signatureHelpProvider = { | |
triggerCharacters = <table 4> | |
}, | |
textDocumentSync = { | |
change = 2, | |
openClose = true | |
}, | |
typeDefinitionProvider = true, | |
workspaceSymbolProvider = true | |
}, | |
stop = <function 14>, | |
supports_method = <function 15>, | |
workspaceFolders = <table 2>, | |
workspace_did_change_configuration = <function 16>, | |
workspace_folders = <table 2> | |
} } | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 2, | |
jsonrpc = "2.0", | |
method = "shutdown" | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 2, | |
jsonrpc = "2.0", | |
result = true | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "exit" | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 11, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 732 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 11, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 732, | |
value = { | |
cancellable = false, | |
kind = "begin", | |
message = "kong/pdk/log.lua", | |
percentage = 0, | |
title = "Diagnosing" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 700, | |
value = { | |
kind = "report", | |
message = "19/693", | |
percentage = 2 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 701, | |
value = { | |
kind = "report", | |
message = "18/557", | |
percentage = 3 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 12, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 733 | |
} | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 733, | |
value = { | |
cancellable = false, | |
kind = "begin", | |
message = "kong/pdk/log.lua", | |
percentage = 0, | |
title = "Diagnosing" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:32:08] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 12, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[START][2022-05-16 13:29:43] LSP logging initiated | |
[INFO][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:261 "Starting RPC client" { | |
args = {}, | |
cmd = "lua-language-server", | |
extra = { | |
cwd = "/home/flrgh/git/kong/kong" | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 1, | |
jsonrpc = "2.0", | |
method = "initialize", | |
params = { | |
capabilities = { | |
callHierarchy = { | |
dynamicRegistration = false | |
}, | |
textDocument = { | |
codeAction = { | |
codeActionLiteralSupport = { | |
codeActionKind = { | |
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } | |
} | |
}, | |
dataSupport = true, | |
dynamicRegistration = false, | |
resolveSupport = { | |
properties = { "edit" } | |
} | |
}, | |
completion = { | |
completionItem = { | |
commitCharactersSupport = false, | |
deprecatedSupport = false, | |
documentationFormat = { "markdown", "plaintext" }, | |
preselectSupport = false, | |
snippetSupport = false | |
}, | |
completionItemKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } | |
}, | |
contextSupport = false, | |
dynamicRegistration = false | |
}, | |
declaration = { | |
linkSupport = true | |
}, | |
definition = { | |
linkSupport = true | |
}, | |
documentHighlight = { | |
dynamicRegistration = false | |
}, | |
documentSymbol = { | |
dynamicRegistration = false, | |
hierarchicalDocumentSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
hover = { | |
contentFormat = { "markdown", "plaintext" }, | |
dynamicRegistration = false | |
}, | |
implementation = { | |
linkSupport = true | |
}, | |
publishDiagnostics = { | |
relatedInformation = true, | |
tagSupport = { | |
valueSet = { 1, 2 } | |
} | |
}, | |
references = { | |
dynamicRegistration = false | |
}, | |
rename = { | |
dynamicRegistration = false, | |
prepareSupport = true | |
}, | |
signatureHelp = { | |
dynamicRegistration = false, | |
signatureInformation = { | |
activeParameterSupport = true, | |
documentationFormat = { "markdown", "plaintext" }, | |
parameterInformation = { | |
labelOffsetSupport = true | |
} | |
} | |
}, | |
synchronization = { | |
didSave = true, | |
dynamicRegistration = false, | |
willSave = false, | |
willSaveWaitUntil = false | |
}, | |
typeDefinition = { | |
linkSupport = true | |
} | |
}, | |
window = { | |
showDocument = { | |
support = false | |
}, | |
showMessage = { | |
messageActionItem = { | |
additionalPropertiesSupport = false | |
} | |
}, | |
workDoneProgress = true | |
}, | |
workspace = { | |
applyEdit = true, | |
configuration = true, | |
symbol = { | |
dynamicRegistration = false, | |
hierarchicalWorkspaceSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
workspaceEdit = { | |
resourceOperations = { "rename", "create", "delete" } | |
}, | |
workspaceFolders = true | |
} | |
}, | |
clientInfo = { | |
name = "Neovim", | |
version = "0.7.0" | |
}, | |
initializationOptions = {}, | |
processId = 3906654, | |
rootPath = "/home/flrgh/git/kong/kong", | |
rootUri = "file:///home/flrgh/git/kong/kong", | |
trace = "off", | |
workspaceFolders = { { | |
name = "/home/flrgh/git/kong/kong", | |
uri = "file:///home/flrgh/git/kong/kong" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "window/logMessage", | |
params = { | |
message = "Log path: file:///home/flrgh/.cache/nvim/lua-lsp/log/file_home_flrgh_git_kong_kong.log", | |
type = 4 | |
} | |
} | |
[INFO][2022-05-16 13:29:43] ...lsp/handlers.lua:458 "Log path: file:///home/flrgh/.cache/nvim/lua-lsp/log/file_home_flrgh_git_kong_kong.log" | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 1, | |
jsonrpc = "2.0", | |
result = { | |
capabilities = { | |
codeActionProvider = { | |
codeActionKinds = { "", "quickfix", "refactor.rewrite", "refactor.extract" }, | |
resolveProvider = false | |
}, | |
completionProvider = { | |
resolveProvider = true, | |
triggerCharacters = { "\t", "\n", ".", ":", "(", "'", '"', "[", ",", "#", "*", "@", "|", "=", "-", "{", " ", "+", "?" } | |
}, | |
definitionProvider = true, | |
documentFormattingProvider = true, | |
documentHighlightProvider = true, | |
documentOnTypeFormattingProvider = { | |
firstTriggerCharacter = "\n" | |
}, | |
documentRangeFormattingProvider = true, | |
documentSymbolProvider = true, | |
executeCommandProvider = { | |
commands = { "lua.removeSpace", "lua.solve", "lua.jsonToLua", "lua.setConfig", "lua.autoRequire" } | |
}, | |
foldingRangeProvider = true, | |
hoverProvider = true, | |
inlayHintProvider = { | |
resolveProvider = true | |
}, | |
offsetEncoding = "utf-16", | |
referencesProvider = true, | |
renameProvider = { | |
prepareProvider = true | |
}, | |
semanticTokensProvider = { | |
full = true, | |
legend = { | |
tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, | |
tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator" } | |
}, | |
range = true | |
}, | |
signatureHelpProvider = { | |
triggerCharacters = { "(", "," } | |
}, | |
textDocumentSync = { | |
change = 2, | |
openClose = true | |
}, | |
typeDefinitionProvider = true, | |
workspaceSymbolProvider = true | |
}, | |
serverInfo = { | |
name = "sumneko.lua" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/report", | |
params = { | |
text = "😺Lua", | |
tooltip = "Workspace : /home/flrgh/git/kong/kong\nCached files: 0/0\nMemory usage: 2M" | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "initialized", | |
params = {} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "workspace/didChangeConfiguration", | |
params = { | |
settings = { | |
Lua = { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
} | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../lua/vim/lsp.lua:982 "LSP[sumneko_lua]" "server_capabilities" { | |
codeActionProvider = { | |
codeActionKinds = { "", "quickfix", "refactor.rewrite", "refactor.extract" }, | |
resolveProvider = false | |
}, | |
completionProvider = { | |
resolveProvider = true, | |
triggerCharacters = { "\t", "\n", ".", ":", "(", "'", '"', "[", ",", "#", "*", "@", "|", "=", "-", "{", " ", "+", "?" } | |
}, | |
definitionProvider = true, | |
documentFormattingProvider = true, | |
documentHighlightProvider = true, | |
documentOnTypeFormattingProvider = { | |
firstTriggerCharacter = "\n" | |
}, | |
documentRangeFormattingProvider = true, | |
documentSymbolProvider = true, | |
executeCommandProvider = { | |
commands = { "lua.removeSpace", "lua.solve", "lua.jsonToLua", "lua.setConfig", "lua.autoRequire" } | |
}, | |
foldingRangeProvider = true, | |
hoverProvider = true, | |
inlayHintProvider = { | |
resolveProvider = true | |
}, | |
offsetEncoding = "utf-16", | |
referencesProvider = true, | |
renameProvider = { | |
prepareProvider = true | |
}, | |
semanticTokensProvider = { | |
full = true, | |
legend = { | |
tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, | |
tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator" } | |
}, | |
range = true | |
}, | |
signatureHelpProvider = { | |
triggerCharacters = { "(", "," } | |
}, | |
textDocumentSync = { | |
change = 2, | |
openClose = true | |
}, | |
typeDefinitionProvider = true, | |
workspaceSymbolProvider = true | |
} | |
[INFO][2022-05-16 13:29:43] .../lua/vim/lsp.lua:983 "LSP[sumneko_lua]" "initialized" { | |
resolved_capabilities = { | |
call_hierarchy = false, | |
code_action = { | |
codeActionKinds = { "", "quickfix", "refactor.rewrite", "refactor.extract" }, | |
resolveProvider = false | |
}, | |
code_lens = false, | |
code_lens_resolve = false, | |
completion = true, | |
declaration = false, | |
document_formatting = true, | |
document_highlight = true, | |
document_range_formatting = true, | |
document_symbol = true, | |
execute_command = true, | |
find_references = true, | |
goto_definition = true, | |
hover = true, | |
implementation = false, | |
rename = true, | |
signature_help = true, | |
signature_help_trigger_characters = { "(", "," }, | |
text_document_did_change = 2, | |
text_document_open_close = true, | |
text_document_save = false, | |
text_document_save_include_text = false, | |
text_document_will_save = false, | |
text_document_will_save_wait_until = false, | |
type_definition = true, | |
workspace_folder_properties = { | |
changeNotifications = false, | |
supported = false | |
}, | |
workspace_symbol = true | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "textDocument/didOpen", | |
params = { | |
textDocument = { | |
languageId = "lua", | |
text = 'local _M = {}\n\nlocal split = require("kong.tools.utils").split\n\n\n-- This is a very naive forward proxy, which accepts a CONNECT over HTTP, and\n-- then starts tunnelling the bytes blind (for end-to-end SSL).\nfunction _M.connect()\n\n local req_sock = ngx.req.socket(true)\n req_sock:settimeouts(1000, 1000, 1000)\n\n -- receive request line\n local req_line = req_sock:receive()\n ngx.log(ngx.DEBUG, "request line: ", req_line)\n\n local method, host_port = unpack(split(req_line, " "))\n if method ~= "CONNECT" then\n return ngx.exit(400)\n end\n\n local upstream_host, upstream_port = unpack(split(host_port, ":"))\n\n -- receive and discard any headers\n repeat\n local line = req_sock:receive("*l")\n ngx.log(ngx.DEBUG, "request header: ", line)\n until ngx.re.find(line, "^\\\\s*$", "jo")\n\n -- Connect to requested upstream\n local upstream_sock = ngx.socket.tcp()\n upstream_sock:settimeouts(1000, 1000, 1000)\n local ok, err = upstream_sock:connect(upstream_host, upstream_port)\n if not ok then\n ngx.log(ngx.ERR, "connect to upstream ", upstream_host, ":", upstream_port,\n " failed: ", err)\n return ngx.exit(504)\n end\n\n -- Tell the client we are good to go\n ngx.print("HTTP/1.1 200 OK\\n\\n")\n ngx.flush()\n\n -- 10Kb in either direction should be plenty\n local max_bytes = 10 * 1024\n\n repeat\n local req_data = req_sock:receiveany(max_bytes)\n if req_data then\n ngx.log(ngx.DEBUG, "client RCV ", #req_data, " bytes")\n\n local bytes, err = upstream_sock:send(req_data)\n if bytes then\n ngx.log(ngx.DEBUG, "upstream SND ", bytes, " bytes")\n elseif err then\n ngx.log(ngx.ERR, "upstream SND failed: ", err)\n end\n end\n\n local res_data = upstream_sock:receiveany(max_bytes)\n if res_data then\n ngx.log(ngx.DEBUG, "upstream RCV ", #res_data, " bytes")\n\n local bytes, err = req_sock:send(res_data)\n if bytes then\n ngx.log(ngx.DEBUG, "client SND: ", bytes, " bytes")\n elseif err then\n ngx.log(ngx.ERR, "client SND failed: ", err)\n end\n end\n until not req_data and not res_data -- request socket should be closed\n\n upstream_sock:close()\nend\n\nreturn _M\n', | |
uri = "file:///home/flrgh/git/kong/kong/spec/fixtures/forward-proxy-server.lua", | |
version = 0 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 1, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "Lua" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "files.associations" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "files.exclude" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "editor.semanticHighlighting.enabled" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "editor.acceptSuggestionOnEnter" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL }, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 1, | |
jsonrpc = "2.0", | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL } | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 2, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "Lua" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "files.associations" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "files.exclude" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "editor.semanticHighlighting.enabled" | |
}, { | |
scopeUri = "file:///home/flrgh/git/kong/kong", | |
section = "editor.acceptSuggestionOnEnter" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/report", | |
params = { | |
text = "😺Lua", | |
tooltip = "Workspace : /home/flrgh/git/kong/kong\nCached files: 1/1\nMemory usage: 2M" | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "window/logMessage", | |
params = { | |
message = "Do you need to configure your work environment as `OpenResty`?", | |
type = 3 | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 3, | |
jsonrpc = "2.0", | |
method = "window/showMessageRequest", | |
params = { | |
actions = { { | |
title = "Apply and modify settings" | |
}, { | |
title = "Apply but do not modify settings" | |
}, { | |
title = "Don't show again" | |
} }, | |
message = "Do you need to configure your work environment as `OpenResty`?", | |
type = 3 | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL }, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 2, | |
jsonrpc = "2.0", | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL } | |
} | |
[INFO][2022-05-16 13:29:43] ...lsp/handlers.lua:458 "Do you need to configure your work environment as `OpenResty`?" | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 4, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
section = "Lua" | |
}, { | |
section = "files.associations" | |
}, { | |
section = "files.exclude" | |
}, { | |
section = "editor.semanticHighlighting.enabled" | |
}, { | |
section = "editor.acceptSuggestionOnEnter" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:29:43] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 5, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
section = "Lua" | |
}, { | |
section = "files.associations" | |
}, { | |
section = "files.exclude" | |
}, { | |
section = "editor.semanticHighlighting.enabled" | |
}, { | |
section = "editor.acceptSuggestionOnEnter" | |
} } | |
} | |
} | |
[DEBUG][2022-05-16 13:29:45] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/show" | |
} | |
[DEBUG][2022-05-16 13:29:45] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/show" | |
} | |
[DEBUG][2022-05-16 13:29:45] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 6, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 1 | |
} | |
} | |
[DEBUG][2022-05-16 13:29:45] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 1, | |
value = { | |
cancellable = false, | |
kind = "begin", | |
percentage = 0, | |
title = "Initializing..." | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = { | |
title = "Don't show again" | |
}, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 3, | |
jsonrpc = "2.0", | |
result = { | |
title = "Don't show again" | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL }, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 4, | |
jsonrpc = "2.0", | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL } | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL }, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 5, | |
jsonrpc = "2.0", | |
result = { { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
}, vim.NIL, vim.NIL, vim.NIL, vim.NIL } | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 6, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 1, | |
value = { | |
kind = "end" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/show" | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/show" | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 7, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 4 | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
cancellable = false, | |
kind = "begin", | |
message = "87/220", | |
percentage = 39, | |
title = "Loading workspace" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 7, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 8, | |
jsonrpc = "2.0", | |
method = "window/workDoneProgress/create", | |
params = { | |
token = 3 | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:464 "server_request: callback result" { | |
result = vim.NIL, | |
status = true | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 8, | |
jsonrpc = "2.0", | |
result = vim.NIL | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
cancellable = false, | |
kind = "begin", | |
message = "87/555", | |
percentage = 15, | |
title = "Loading workspace" | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "94/220", | |
percentage = 42 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "93/555", | |
percentage = 16 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "104/220", | |
percentage = 46 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "103/555", | |
percentage = 18 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "110/220", | |
percentage = 49 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "111/555", | |
percentage = 19 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "119/220", | |
percentage = 53 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "119/555", | |
percentage = 21 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "124/220", | |
percentage = 55 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "124/555", | |
percentage = 22 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "131/555", | |
percentage = 23 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:46] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "132/220", | |
percentage = 59 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "140/220", | |
percentage = 63 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "140/555", | |
percentage = 25 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "146/555", | |
percentage = 26 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "147/220", | |
percentage = 66 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "153/555", | |
percentage = 27 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "154/220", | |
percentage = 69 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/status/report", | |
params = { | |
text = "$(loading~spin)Lua", | |
tooltip = "Workspace : /home/flrgh/git/kong/kong\nCached files: 231/231\nMemory usage: 72M" | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "162/555", | |
percentage = 29 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "163/220", | |
percentage = 73 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "167/555", | |
percentage = 29 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "169/220", | |
percentage = 76 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "172/220", | |
percentage = 78 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "172/555", | |
percentage = 30 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "179/220", | |
percentage = 80 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "178/555", | |
percentage = 32 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "188/220", | |
percentage = 85 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "187/555", | |
percentage = 33 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "195/220", | |
percentage = 88 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "194/555", | |
percentage = 34 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "206/220", | |
percentage = 93 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "205/555", | |
percentage = 36 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 4, | |
value = { | |
kind = "report", | |
message = "214/220", | |
percentage = 96 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "214/555", | |
percentage = 38 | |
} | |
} | |
} | |
[INFO][2022-05-16 13:29:47] .../lua/vim/lsp.lua:1392 "exit_handler" { { | |
_on_attach = <function 1>, | |
attached_buffers = { true }, | |
cancel_request = <function 2>, | |
commands = {}, | |
config = { | |
_on_attach = <function 3>, | |
autostart = true, | |
capabilities = { | |
callHierarchy = { | |
dynamicRegistration = false | |
}, | |
textDocument = { | |
codeAction = { | |
codeActionLiteralSupport = { | |
codeActionKind = { | |
valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } | |
} | |
}, | |
dataSupport = true, | |
dynamicRegistration = false, | |
resolveSupport = { | |
properties = { "edit" } | |
} | |
}, | |
completion = { | |
completionItem = { | |
commitCharactersSupport = false, | |
deprecatedSupport = false, | |
documentationFormat = { "markdown", "plaintext" }, | |
preselectSupport = false, | |
snippetSupport = false | |
}, | |
completionItemKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } | |
}, | |
contextSupport = false, | |
dynamicRegistration = false | |
}, | |
declaration = { | |
linkSupport = true | |
}, | |
definition = { | |
linkSupport = true | |
}, | |
documentHighlight = { | |
dynamicRegistration = false | |
}, | |
documentSymbol = { | |
dynamicRegistration = false, | |
hierarchicalDocumentSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
hover = { | |
contentFormat = { "markdown", "plaintext" }, | |
dynamicRegistration = false | |
}, | |
implementation = { | |
linkSupport = true | |
}, | |
publishDiagnostics = { | |
relatedInformation = true, | |
tagSupport = { | |
valueSet = { 1, 2 } | |
} | |
}, | |
references = { | |
dynamicRegistration = false | |
}, | |
rename = { | |
dynamicRegistration = false, | |
prepareSupport = true | |
}, | |
signatureHelp = { | |
dynamicRegistration = false, | |
signatureInformation = { | |
activeParameterSupport = true, | |
documentationFormat = { "markdown", "plaintext" }, | |
parameterInformation = { | |
labelOffsetSupport = true | |
} | |
} | |
}, | |
synchronization = { | |
didSave = true, | |
dynamicRegistration = false, | |
willSave = false, | |
willSaveWaitUntil = false | |
}, | |
typeDefinition = { | |
linkSupport = true | |
} | |
}, | |
window = { | |
showDocument = { | |
support = false | |
}, | |
showMessage = { | |
messageActionItem = { | |
additionalPropertiesSupport = false | |
} | |
}, | |
workDoneProgress = true | |
}, | |
workspace = { | |
applyEdit = true, | |
configuration = true, | |
symbol = { | |
dynamicRegistration = false, | |
hierarchicalWorkspaceSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
workspaceEdit = { | |
resourceOperations = { "rename", "create", "delete" } | |
}, | |
workspaceFolders = true | |
} | |
}, | |
cmd = { "lua-language-server" }, | |
cmd_cwd = "/home/flrgh/git/kong/kong", | |
filetypes = { "lua" }, | |
flags = {}, | |
get_language_id = <function 4>, | |
handlers = <1>{}, | |
init_options = {}, | |
log_level = 2, | |
message_level = 2, | |
name = "sumneko_lua", | |
on_attach = <function 5>, | |
on_exit = <function 6>, | |
on_init = <function 7>, | |
root_dir = "/home/flrgh/git/kong/kong", | |
settings = { | |
Lua = { | |
IntelliSense = { | |
traceBeSetted = true, | |
traceFieldInject = true, | |
traceLocalSet = true, | |
traceReturn = true | |
}, | |
completion = { | |
autoRequire = true, | |
callSnippet = "Disable", | |
displayContext = 0, | |
enable = true, | |
keywordSnippet = "Replace", | |
postfix = "@", | |
requireSeparator = ".", | |
showParams = true, | |
showWord = "Fallback", | |
workspaceWord = true | |
}, | |
diagnostics = { | |
disable = { "lowercase-global", "need-check-nil" }, | |
enable = true, | |
globals = { "vim", "ngx", "kong", "after_each", "before_each", "describe", "expose", "finally", "insulate", "it", "lazy_setup", "lazy_teardown", "mock", "pending", "pending", "randomize", "setup", "spec", "spy", "strict_setup", "strict_teardown", "stub", "teardown", "test" }, | |
ignoredFiles = "Opened", | |
libraryFiles = "Opened", | |
workspaceDelay = 3000, | |
workspaceRate = 80 | |
}, | |
hint = { | |
enable = true, | |
paramName = "All", | |
paramType = true, | |
setType = true | |
}, | |
hover = { | |
enable = true, | |
enumsLimit = 5, | |
previewFields = 20, | |
viewNumber = true, | |
viewString = true, | |
viewStringMax = 1000 | |
}, | |
runtime = { | |
fileEncoding = "utf8", | |
nonstandardSymbol = {}, | |
path = { "/home/flrgh/git/kong/kong/?.lua", "/home/flrgh/git/kong/kong/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/luarocks/share/lua/5.1/?/init.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?.lua", "/home/flrgh/git/kong/tools/kong-build-tools/openresty-build-tools/build/openresty/lualib/?/init.lua", "?.lua", "?/init.lua", "/home/flrgh/git/kong/types/?.lua", "/home/flrgh/git/kong/types/?/init.lua", "${3rd}/OpenResty/library/?.lua", "${3rd}/OpenResty/library/?/init.lua" }, | |
pathStrict = false, | |
unicodeName = true, | |
version = "LuaJIT" | |
}, | |
semantic = {}, | |
signatureHelp = { | |
enable = true | |
}, | |
telemetry = { | |
enable = true | |
}, | |
workspace = { | |
checkThirdParty = false, | |
ignoreDir = { "*_spec.lua", "migrations/[0-9]*.lua", "migrations/**/[0-9]*.lua" }, | |
ignoreSubmodules = false, | |
library = { | |
["${3rd}/OpenResty/library"] = true, | |
["/home/flrgh/git/kong/types"] = true | |
}, | |
useGitIgnore = true | |
} | |
} | |
}, | |
single_file_support = true, | |
workspace_folders = <2>{ { | |
name = "/home/flrgh/git/kong/kong", | |
uri = "file:///home/flrgh/git/kong/kong" | |
} } | |
}, | |
handlers = <table 1>, | |
id = 1, | |
initialized = true, | |
is_stopped = <function 8>, | |
messages = { | |
messages = {}, | |
name = "sumneko_lua", | |
progress = { {}, | |
[3] = {}, | |
[4] = {} | |
}, | |
status = {} | |
}, | |
name = "sumneko_lua", | |
notify = <function 9>, | |
offset_encoding = "utf-16", | |
request = <function 10>, | |
request_sync = <function 11>, | |
requests = {}, | |
resolved_capabilities = { | |
call_hierarchy = false, | |
code_action = <3>{ | |
codeActionKinds = { "", "quickfix", "refactor.rewrite", "refactor.extract" }, | |
resolveProvider = false | |
}, | |
code_lens = false, | |
code_lens_resolve = false, | |
completion = true, | |
declaration = false, | |
document_formatting = true, | |
document_highlight = true, | |
document_range_formatting = true, | |
document_symbol = true, | |
execute_command = true, | |
find_references = true, | |
goto_definition = true, | |
hover = true, | |
implementation = false, | |
rename = true, | |
signature_help = true, | |
signature_help_trigger_characters = <4>{ "(", "," }, | |
text_document_did_change = 2, | |
text_document_open_close = true, | |
text_document_save = false, | |
text_document_save_include_text = false, | |
text_document_will_save = false, | |
text_document_will_save_wait_until = false, | |
type_definition = true, | |
workspace_folder_properties = { | |
changeNotifications = false, | |
supported = false | |
}, | |
workspace_symbol = true | |
}, | |
rpc = { | |
handle = <userdata 1>, | |
notify = <function 12>, | |
pid = 3906660, | |
request = <function 13> | |
}, | |
server_capabilities = { | |
codeActionProvider = <table 3>, | |
completionProvider = { | |
resolveProvider = true, | |
triggerCharacters = { "\t", "\n", ".", ":", "(", "'", '"', "[", ",", "#", "*", "@", "|", "=", "-", "{", " ", "+", "?" } | |
}, | |
definitionProvider = true, | |
documentFormattingProvider = true, | |
documentHighlightProvider = true, | |
documentOnTypeFormattingProvider = { | |
firstTriggerCharacter = "\n" | |
}, | |
documentRangeFormattingProvider = true, | |
documentSymbolProvider = true, | |
executeCommandProvider = { | |
commands = { "lua.removeSpace", "lua.solve", "lua.jsonToLua", "lua.setConfig", "lua.autoRequire" } | |
}, | |
foldingRangeProvider = true, | |
hoverProvider = true, | |
inlayHintProvider = { | |
resolveProvider = true | |
}, | |
offsetEncoding = "utf-16", | |
referencesProvider = true, | |
renameProvider = { | |
prepareProvider = true | |
}, | |
semanticTokensProvider = { | |
full = true, | |
legend = { | |
tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, | |
tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator" } | |
}, | |
range = true | |
}, | |
signatureHelpProvider = { | |
triggerCharacters = <table 4> | |
}, | |
textDocumentSync = { | |
change = 2, | |
openClose = true | |
}, | |
typeDefinitionProvider = true, | |
workspaceSymbolProvider = true | |
}, | |
stop = <function 14>, | |
supports_method = <function 15>, | |
workspaceFolders = <table 2>, | |
workspace_did_change_configuration = <function 16>, | |
workspace_folders = <table 2> | |
} } | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
id = 2, | |
jsonrpc = "2.0", | |
method = "shutdown" | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
id = 2, | |
jsonrpc = "2.0", | |
result = true | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:454 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "$/progress", | |
params = { | |
token = 3, | |
value = { | |
kind = "report", | |
message = "230/555", | |
percentage = 41 | |
} | |
} | |
} | |
[DEBUG][2022-05-16 13:29:47] .../vim/lsp/rpc.lua:347 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "exit" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment