Skip to content

Instantly share code, notes, and snippets.

@armed
Last active September 11, 2022 10:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save armed/4c23005fbf134c4c118d85b80114fe3e to your computer and use it in GitHub Desktop.
[INFO][2022-09-11 16:33:52] .../vim/lsp/rpc.lua:261 "Starting RPC client" { args = {}, cmd = "clojure-lsp", extra = { cwd = "/<project_path>" }}
[TRACE][2022-09-11 16:33:52] .../lua/vim/lsp.lua:953 "LSP[clojure_lsp]" "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 = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, 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.2" }, initializationOptions = vim.empty_dict(), processId = 11567, rootPath = "/<project_path>", rootUri = "file:///<project_path>", trace = "off", workspaceFolders = { { name = "/<project_path>", uri = "file:///<project_path>" } }}
[DEBUG][2022-09-11 16:33:52] .../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 = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, 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.2" }, initializationOptions = vim.empty_dict(), processId = 11567, rootPath = "/<project_path>", rootUri = "file:///<project_path>", trace = "off", workspaceFolders = { { name = "/<project_path>", uri = "file:///<project_path>" } } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "begin", percentage = 0, title = "clojure-lsp" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "begin", percentage = 0, title = "clojure-lsp" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "begin", percentage = 0, title = "clojure-lsp" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 5, title = "Finding kondo config" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 5, title = "Finding kondo config" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 5, title = "Finding kondo config" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 10, title = "Finding cache" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 10, title = "Finding cache" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 10, title = "Finding cache" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 15, title = "Copying kondo configs" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 15, title = "Copying kondo configs" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 15, title = "Copying kondo configs" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 15, title = "Resolving config paths" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 15, title = "Resolving config paths" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 15, title = "Resolving config paths" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 20, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 20, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 20, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 23, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 23, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 23, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 27, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 27, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 27, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 31, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 31, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 31, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 35, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 35, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 35, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 39, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 39, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 39, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 43, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 43, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 43, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 47, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 47, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 47, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 51, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 51, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 51, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 55, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 55, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 55, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 59, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 59, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 59, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 63, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 63, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 63, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 67, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 67, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 67, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 71, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 71, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 71, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 75, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 75, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 75, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 79, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 79, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 79, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 83, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 83, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 83, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 87, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 87, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 87, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 91, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 91, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 91, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 95, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 95, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 95, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "report", percentage = 99, title = "Analyzing project files" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "report", percentage = 99, title = "Analyzing project files" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "report", percentage = 99, title = "Analyzing project files" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = "clojure-lsp", value = { kind = "end", percentage = 100, title = "Project analyzed" } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "$/progress" { token = "clojure-lsp", value = { kind = "end", percentage = 100, title = "Project analyzed" }}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "$/progress" { ctx = '{\n client_id = 3,\n method = "$/progress"\n}', result = { token = "clojure-lsp", value = { kind = "end", percentage = 100, title = "Project analyzed" } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = 1, jsonrpc = "2.0", result = { capabilities = { callHierarchyProvider = true, codeActionProvider = { codeActionKinds = { "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } }, codeLensProvider = { resolveProvider = true }, completionProvider = { resolveProvider = true, triggerCharacters = { ":", "/" } }, declarationProvider = true, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = { "add-import-to-namespace", "add-missing-import", "add-missing-libspec", "add-require-suggestion", "change-coll", "clean-ns", "create-function", "create-test", "cycle-coll", "cycle-privacy", "demote-fn", "destructure-keys", "drag-backward", "drag-forward", "expand-let", "extract-function", "extract-to-def", "get-in-all", "get-in-less", "get-in-more", "get-in-none", "inline-symbol", "introduce-let", "move-coll-entry-down", "move-coll-entry-up", "move-form", "move-to-let", "promote-fn", "resolve-macro-as", "restructure-keys", "sort-map", "suppress-diagnostic", "thread-first", "thread-first-all", "thread-last", "thread-last-all", "unwind-all", "unwind-thread" } }, experimental = { clojuredocs = true, cursorInfo = true, serverInfo = true, testTree = true }, hoverProvider = true, implementationProvider = true, linkedEditingRangeProvider = true, referencesProvider = true, renameProvider = { prepareProvider = true }, semanticTokensProvider = { full = true, legend = { tokenModifiers = { "definition", "defaultLibrary", "implementation" }, tokenTypes = { "namespace", "type", "function", "macro", "keyword", "class", "variable", "method", "event" } }, range = true }, signatureHelpProvider = { triggerCharacters = {} }, textDocumentSync = { change = 1, openClose = true, save = { includeText = true } }, workspace = { fileOperations = { willRename = { filters = { { pattern = { glob = "**/*.{clj,cljs,cljc,cljd,edn,bb,clj_kondo}", matches = "file" }, scheme = "file" } } } } }, workspaceSymbolProvider = true } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:347 "rpc.send" { jsonrpc = "2.0", method = "initialized", params = vim.empty_dict()}
[DEBUG][2022-09-11 16:33:53] .../lua/vim/lsp.lua:982 "LSP[clojure_lsp]" "server_capabilities" { callHierarchyProvider = true, codeActionProvider = { codeActionKinds = { "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } }, codeLensProvider = { resolveProvider = true }, completionProvider = { resolveProvider = true, triggerCharacters = { ":", "/" } }, declarationProvider = true, definitionProvider = true, documentFormattingProvider = true, documentHighlightProvider = true, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = { "add-import-to-namespace", "add-missing-import", "add-missing-libspec", "add-require-suggestion", "change-coll", "clean-ns", "create-function", "create-test", "cycle-coll", "cycle-privacy", "demote-fn", "destructure-keys", "drag-backward", "drag-forward", "expand-let", "extract-function", "extract-to-def", "get-in-all", "get-in-less", "get-in-more", "get-in-none", "inline-symbol", "introduce-let", "move-coll-entry-down", "move-coll-entry-up", "move-form", "move-to-let", "promote-fn", "resolve-macro-as", "restructure-keys", "sort-map", "suppress-diagnostic", "thread-first", "thread-first-all", "thread-last", "thread-last-all", "unwind-all", "unwind-thread" } }, experimental = { clojuredocs = true, cursorInfo = true, serverInfo = true, testTree = true }, hoverProvider = true, implementationProvider = true, linkedEditingRangeProvider = true, referencesProvider = true, renameProvider = { prepareProvider = true }, semanticTokensProvider = { full = true, legend = { tokenModifiers = { "definition", "defaultLibrary", "implementation" }, tokenTypes = { "namespace", "type", "function", "macro", "keyword", "class", "variable", "method", "event" } }, range = true }, signatureHelpProvider = { triggerCharacters = {} }, textDocumentSync = { change = 1, openClose = true, save = { includeText = true } }, workspace = { fileOperations = { willRename = { filters = { { pattern = { glob = "**/*.{clj,cljs,cljc,cljd,edn,bb,clj_kondo}", matches = "file" }, scheme = "file" } } } } }, workspaceSymbolProvider = true}
[INFO][2022-09-11 16:33:53] .../lua/vim/lsp.lua:983 "LSP[clojure_lsp]" "initialized" { resolved_capabilities = { call_hierarchy = true, code_action = { codeActionKinds = { "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } }, code_lens = true, code_lens_resolve = true, completion = true, declaration = true, 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 = true, rename = true, signature_help = true, signature_help_trigger_characters = {}, text_document_did_change = 1, text_document_open_close = true, text_document_save = { includeText = true }, text_document_save_include_text = true, text_document_will_save = false, text_document_will_save_wait_until = false, type_definition = false, workspace_folder_properties = { changeNotifications = false, supported = false }, workspace_symbol = true }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:347 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didOpen", params = { textDocument = { languageId = "clojure", text = "(ns k16.kx.core\n (:require\n [clojure.java.io :as io]\n [k16.kx.boot :as boot]\n [k16.kx.cas.core :as cas]\n [k16.kx.cas.schema :as cas.schema]\n [k16.kx.events :as events]\n [k16.kx.log :as log]\n [k16.kx.job :as job]\n [k16.kx.manifest :as manifest]\n [k16.kx.manifest.schema :as manifest.schema]\n [k16.kx.socket :as socket]\n [k16.kx.util :as util]\n [k16.kx.worker.manifest :as worker.manifest]\n [k16.kx.worker.process :as worker.process]\n [promesa.core :as p])\n (:gen-class))\n\n(defonce ^:dynamic development? false)\n\n(def ?Parameters\n [:map\n [:port {:optional true} nat-int?]\n [:host {:optional true} string?]\n [:boot-conn {:optional true} any?]\n [:manifest-url string?]\n [:manifest {:optional true} manifest.schema/?Manifest]\n [:manifest-asset {:optional true} cas.schema/?Asset]\n [:local-path {:optional true} string?]\n [:auth-token {:optional true} string?]\n [:network-profile {:optional true} string?]\n [:cache {:optional true} string?]\n [:initial-manifest-path {:optional true} string?]\n [:fetch-interval {:optional true} nat-int?]\n [:log-path {:optional true} string?]])\n\n(defn pinger []\n {:worker (util/sleep 2000)})\n\n;; Currently this function is a placeholder that assumes that the desired\n;; behaviour is that the process is always restarted on being killed and\n;; that it is alright to kill it immediately.\n\n(defn swap-in-assets\n [[loop-params pending-events] resolved-assets]\n (let [asset-swap (p/future (-> resolved-assets\n manifest/deploy-assets!\n manifest/clean-old-cache!))]\n [loop-params (assoc pending-events\n events/ASSETS-SWAPPED-IN\n asset-swap)]))\n\n(defn download-assets-in-background\n [[{:keys [local-path] :as loop-params} pending-events] manifest-asset]\n (let [asset-download\n (p/future\n (let [manifest (manifest/parse-manifest! manifest-asset)]\n (manifest/save-manifest-asset! manifest-asset local-path)\n {:manifest-asset manifest-asset\n :manifest manifest\n :resolved-assets (manifest/resolve-assets! manifest)}))]\n [loop-params (assoc pending-events\n events/ASSETS-DOWNLOADED\n asset-download)]))\n\n(defn act-on-update-policy\n [[loop-params pending-events] new-manifest-asset]\n (let [process (:process loop-params)\n dead-process @(worker.process/kill-for-update process)\n asset-swapper (swap-in-assets new-manifest-asset\n (:local-path loop-params))]\n [(assoc loop-params :process dead-process)\n (-> pending-events\n (dissoc events/PROCESS-TERMINATED)\n (assoc events/ASSETS-SWAPPED-IN asset-swapper))]))\n\n(defn act-on-exit-policy\n \"Handling logic for manifest's exit policy stuff\"\n [[loop-params evt-promises :as state] dead-process]\n (let [exit-code (:exit dead-process)\n action (worker.process/interpret-on-exit-policy\n (get-in loop-params [:manifest :on_exit_policy]) exit-code)]\n ;; If the exit code is due to being killed after update then\n ;; restart is handled by the flow related to the update policy.\n (case action\n :exit [loop-params {}]\n :restart (if (worker.process/restarting-too-quickly? dead-process)\n ;;; TODO: what if we just sleep and run else part\n [(assoc loop-params :process dead-process)\n (->> dead-process\n (worker.process/wait-to-clear-minimal-restart-interval)\n (assoc evt-promises events/MIN-RESTART-INTERVAL-CLEARED))]\n (let [process (worker.process/clone-process dead-process)]\n [(assoc loop-params :process process)\n (assoc evt-promises\n events/PROCESS-TERMINATED\n (worker.process/await-termination process))]))\n [loop-params evt-promises])))\n\n(defn restart-process\n [[loop-params pending-events :as state] dead-process]\n (let [process (worker.process/clone-process dead-process)]\n [(assoc loop-params\n :process process)\n (assoc pending-events\n events/PROCESS-TERMINATED\n (worker.process/await-termination process))]))\n\n(defn act-on-initial-manifest-retrieval\n [[{:keys [local-path] :as loop-params} pending-events] manifest-asset]\n (let [initial-download-and-deploy\n (p/future\n (let [manifest (manifest/parse-manifest! manifest-asset)]\n (manifest/save-manifest-asset! manifest-asset local-path)\n (-> manifest\n manifest/resolve-assets!\n manifest/deploy-assets!\n manifest/clean-old-cache!)\n {:manifest manifest\n :manifest-asset manifest-asset}))]\n [loop-params\n (assoc pending-events\n events/DOWNLOADED-AND-DEPLOYED-INITIAL-ASSETS\n initial-download-and-deploy)]))\n\n(defn start-process\n [[loop-params pending-events] {:keys [manifest manifest-asset]}]\n (let [process (worker.process/run-process (:cmd manifest))\n loop-params (assoc loop-params\n :manifest manifest\n :manifest-asset manifest-asset)\n manifest-fetcher (worker.manifest/start! loop-params)]\n [(assoc loop-params\n :process process\n :manifest-fetcher manifest-fetcher)\n (assoc pending-events\n events/PROCESS-TERMINATED (worker.process/await-termination process)\n events/NEW-MANIFEST-FOUND (:worker manifest-fetcher))]))\n\n(defn handle-ping-failed\n [[loop-params _] _error]\n (log/error! \"Ping failed. Stopping main loop.\")\n [loop-params {}])\n\n(defn ping-and-schedule-next-one\n [[{:keys [boot-conn] :as loop-params} pending-events]]\n (boot/put-msg! boot-conn \"PING\")\n [loop-params (assoc pending-events :ping (pinger))])\n\n(defn handle-error [[loop-params _ :as state] evt-key evt-val]\n (case evt-key\n :ping (handle-ping-failed state evt-val)\n [loop-params {}]))\n\n(defn cleanup [loop-params]\n (some-> loop-params :process (worker.process/kill-sync))\n (when-let [manifest-fetcher (:manifest-fetcher loop-params)]\n (p/resolve! (:stop-hook manifest-fetcher) true)\n @(:worker manifest-fetcher))\n ;; TODO: Are there other things to kill?\n )\n\n(defn quit\n [[loop-params _pending-events]]\n (cleanup loop-params)\n [loop-params {}])\n\n(defn handle-event [[loop-params _pending-events :as state] evt-key evt-val]\n (case evt-key\n events/PING\n (ping-and-schedule-next-one state)\n\n (events/TOLD-TO-QUIT events/BOOT)\n (quit state)\n\n events/PROCESS-TERMINATED\n (act-on-exit-policy state evt-val)\n\n events/MIN-RESTART-INTERVAL-CLEARED\n (restart-process state evt-val)\n\n events/INITIAL-MANIFEST-FOUND\n (act-on-initial-manifest-retrieval state evt-val)\n\n events/NEW-MANIFEST-FOUND\n (download-assets-in-background state evt-val)\n\n events/ASSETS-DOWNLOADED\n (act-on-update-policy state evt-val)\n\n events/DOWNLOADED-AND-DEPLOYED-INITIAL-ASSETS\n (start-process state evt-val)\n\n events/ASSETS-SWAPPED-IN\n (act-on-exit-policy state evt-val)\n\n [(assoc loop-params :last-event-value evt-val) {}]))\n\n(defn next-event\n \"Await for next resolved event and prepend it with a key\"\n [m]\n (p/race (mapv (fn [[k p]] (p/handle p (fn [v e] [k v e]))) m)))\n\n(defn listen-for-next-event\n \"Event dispatcher, waits for first available promise and dispatches to handlers\"\n [[loop-params pending-events]]\n (log/info! \"Listening for next event.\"\n {:loop-params loop-params\n :pending-events pending-events})\n (if (seq pending-events)\n (let [[evt-key evt-val ex] @(next-event pending-events)\n ctx [(assoc loop-params :last-event evt-key)\n (dissoc pending-events evt-key)]]\n (if evt-val\n (handle-event ctx evt-key evt-val)\n (handle-error ctx evt-key ex)))\n [loop-params {}]))\n\n(defn init-kx [{:keys [boot-conn] :as params}]\n (let [quit (p/deferred)\n manifest-fetcher (worker.manifest/start! params)\n initial-events (cond-> {:initial-manifest-found (:worker manifest-fetcher)\n :told-to-quit quit}\n boot-conn (merge {:boot (boot/recieve-msg! boot-conn)\n :ping (pinger)}))\n loop-params (assoc params :manifest-fetcher manifest-fetcher)]\n (log/info! \"Initialised.\")\n {:initial-state [loop-params initial-events]\n :stop-hook quit}))\n\n(defn main-loop\n [params]\n (let [{:keys [stop-hook initial-state]} (init-kx params)]\n (job/->Job\n stop-hook (p/loop [[_loop-params pending-events :as state] initial-state]\n (if (seq pending-events)\n (p/recur (listen-for-next-event state))\n (log/info! \"Quitting\" state))))))\n\n(defonce loop-instance (atom nil))\n\n(defn run-loop!\n [{:keys [port host verbose] :or {host \"localhost\"} :as params}]\n (util/assert-malli-with-ctx ?Parameters params)\n (when verbose\n (log/add-log-fn! log/prn-log-fn #{:error :info}))\n (when-let [instance @loop-instance]\n (log/info! \"Restarting main loop\")\n (job/stop! instance)\n (reset! loop-instance nil))\n (let [local-path \".manifest.json\"\n current-manifest-file (io/file local-path)\n current-manifest-asset (when (.exists current-manifest-file)\n (cas/resolve-asset\n cas/DefaultCache\n {:source current-manifest-file}))\n ;; TODO: Handle possible exception on parsing\n manifest (when current-manifest-asset\n (manifest/parse-manifest! current-manifest-asset))\n loop-params (merge params {:manifest manifest\n :manifest-asset current-manifest-asset\n :local-path local-path})\n\n main-loop-instance\n (if port\n (with-open [boot-conn (socket/jsocket-open {:host host :port port})]\n (main-loop (assoc loop-params :boot-conn boot-conn)))\n (main-loop loop-params))]\n (log/info! \"Main loop started.\")\n (.addShutdownHook\n (Runtime/getRuntime)\n (Thread. ^Runnable #(job/stop! main-loop-instance)))\n (reset! loop-instance main-loop)\n (if development?\n main-loop-instance\n (job/await-termination main-loop-instance))))\n\n(comment\n (def auth-token (slurp \".token\"))\n (remove-tap clojure.pprint/pprint)\n\n (run-loop! {:manifest-url \"resources/remote_demo/manifest.json\"})\n (require '[clojure.pprint])\n (clojure.pprint/pprint loop-instance)\n (tap> (deref (:loop @loop-instance)))\n (tap> @loop-instance)\n\n (tap> *e)\n (portal.api/clear)\n\n nil)\n", uri = "file:///<project_path>/src/k16/kx/core.clj", version = 0 } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { id = 1, jsonrpc = "2.0", method = "client/registerCapability", params = { registrations = { { id = "id", method = "workspace/didChangeWatchedFiles", registerOptions = { watchers = { { globPattern = "**/*.{clj,cljs,cljc,cljd,edn,bb,clj_kondo}" } } } } } }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///<project_path>/dev/user.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.schema/?Cache'", range = { end = { character = 11, line = 3 }, start = { character = 5, line = 3 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.schema/?RemoteAsset'", range = { end = { character = 17, line = 20 }, start = { character = 5, line = 20 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/cas/schema.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/cas/resolvers.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.core/?Cache'", range = { end = { character = 11, line = 25 }, start = { character = 5, line = 25 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.core/resolve-checksum'", range = { end = { character = 22, line = 87 }, start = { character = 6, line = 87 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/cas/core.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/socket.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:806 "server_request" "client/registerCapability" { registrations = { { id = "id", method = "workspace/didChangeWatchedFiles", registerOptions = { watchers = { { globPattern = "**/*.{clj,cljs,cljc,cljd,edn,bb,clj_kondo}" } } } } }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:809 "server_request: found handler for" "client/registerCapability"
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "client/registerCapability" { ctx = '{\n client_id = 3,\n method = "client/registerCapability"\n}', result = { registrations = { { id = "id", method = "workspace/didChangeWatchedFiles", registerOptions = { watchers = { { globPattern = "**/*.{clj,cljs,cljc,cljd,edn,bb,clj_kondo}" } } } } } }}
[WARN][2022-09-11 16:33:53] ...lsp/handlers.lua:110 "The language server clojure_lsp triggers a registerCapability handler despite dynamicRegistration set to false. Report upstream, this warning is harmless"
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:464 "server_request: callback result" { result = vim.NIL, status = true}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:347 "rpc.send" { id = 1, jsonrpc = "2.0", result = vim.NIL}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.log/clear-log-fns!'", range = { end = { character = 20, line = 6 }, start = { character = 6, line = 6 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.log/remove-log-fn!'", range = { end = { character = 20, line = 19 }, start = { character = 6, line = 19 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/log.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/util.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/boot.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///<project_path>/dev/user.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///<project_path>/dev/user.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/job.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.manifest.schema/?ManifestV1'", range = { end = { character = 16, line = 11 }, start = { character = 5, line = 11 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/manifest/schema.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/manifest/parser.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.schema/?Cache'", range = { end = { character = 11, line = 3 }, start = { character = 5, line = 3 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.schema/?RemoteAsset'", range = { end = { character = 17, line = 20 }, start = { character = 5, line = 20 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/cas/schema.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.schema/?Cache'", range = { end = { character = 11, line = 3 }, start = { character = 5, line = 3 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.schema/?RemoteAsset'", range = { end = { character = 17, line = 20 }, start = { character = 5, line = 20 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/cas/schema.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "unused-binding", message = "unused binding state", range = { end = { character = 38, line = 78 }, start = { character = 33, line = 78 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding state", range = { end = { character = 40, line = 100 }, start = { character = 35, line = 100 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/core.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/env.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/->value-event'", range = { end = { character = 19, line = 9 }, start = { character = 6, line = 9 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/stop-worker-sync!'", range = { end = { character = 23, line = 22 }, start = { character = 6, line = 22 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/worker-state'", range = { end = { character = 18, line = 29 }, start = { character = 6, line = 29 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/worker-result'", range = { end = { character = 19, line = 38 }, start = { character = 6, line = 38 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/worker/core.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "unused-binding", message = "unused binding started-at", range = { end = { character = 21, line = 58 }, start = { character = 11, line = 58 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/worker/process.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/cas/resolvers.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/cas/resolvers.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/worker/manifest.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/PING'", range = { end = { character = 9, line = 2 }, start = { character = 5, line = 2 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/TOLD-TO-QUIT'", range = { end = { character = 17, line = 3 }, start = { character = 5, line = 3 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/BOOT'", range = { end = { character = 9, line = 4 }, start = { character = 5, line = 4 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/INITIAL-MANIFEST-FOUND'", range = { end = { character = 27, line = 7 }, start = { character = 5, line = 7 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/events.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.encoding/command-regex'", range = { end = { character = 18, line = 19 }, start = { character = 5, line = 19 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.encoding/arg-regex'", range = { end = { character = 14, line = 22 }, start = { character = 5, line = 22 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/encoding.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.core/?Cache'", range = { end = { character = 11, line = 25 }, start = { character = 5, line = 25 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.core/resolve-checksum'", range = { end = { character = 22, line = 87 }, start = { character = 6, line = 87 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/cas/core.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.core/?Cache'", range = { end = { character = 11, line = 25 }, start = { character = 5, line = 25 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.cas.core/resolve-checksum'", range = { end = { character = 22, line = 87 }, start = { character = 6, line = 87 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/cas/core.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "unused-binding", message = "unused binding collected-opts", range = { end = { character = 22, line = 104 }, start = { character = 8, line = 104 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding errors", range = { end = { character = 43, line = 106 }, start = { character = 37, line = 106 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding collected-opts", range = { end = { character = 23, line = 128 }, start = { character = 9, line = 128 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding errors", range = { end = { character = 44, line = 129 }, start = { character = 38, line = 129 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding summary", range = { end = { character = 52, line = 129 }, start = { character = 45, line = 129 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding args", range = { end = { character = 17, line = 140 }, start = { character = 13, line = 140 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding collected-opts", range = { end = { character = 33, line = 147 }, start = { character = 19, line = 147 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/cli.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.manifest/delete-directory-recursive'", range = { end = { character = 32, line = 7 }, start = { character = 6, line = 7 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/manifest.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/socket.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/socket.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.log/clear-log-fns!'", range = { end = { character = 20, line = 6 }, start = { character = 6, line = 6 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.log/remove-log-fn!'", range = { end = { character = 20, line = 19 }, start = { character = 6, line = 19 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/log.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.log/clear-log-fns!'", range = { end = { character = 20, line = 6 }, start = { character = 6, line = 6 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.log/remove-log-fn!'", range = { end = { character = 20, line = 19 }, start = { character = 6, line = 19 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/log.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/util.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/util.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/boot.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/boot.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/job.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/job.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.manifest.schema/?ManifestV1'", range = { end = { character = 16, line = 11 }, start = { character = 5, line = 11 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/manifest/schema.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.manifest.schema/?ManifestV1'", range = { end = { character = 16, line = 11 }, start = { character = 5, line = 11 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/manifest/schema.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/manifest/parser.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/manifest/parser.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "unused-binding", message = "unused binding state", range = { end = { character = 38, line = 78 }, start = { character = 33, line = 78 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding state", range = { end = { character = 40, line = 100 }, start = { character = 35, line = 100 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/core.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "unused-binding", message = "unused binding state", range = { end = { character = 38, line = 78 }, start = { character = 33, line = 78 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding state", range = { end = { character = 40, line = 100 }, start = { character = 35, line = 100 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/core.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/env.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/env.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/->value-event'", range = { end = { character = 19, line = 9 }, start = { character = 6, line = 9 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/stop-worker-sync!'", range = { end = { character = 23, line = 22 }, start = { character = 6, line = 22 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/worker-state'", range = { end = { character = 18, line = 29 }, start = { character = 6, line = 29 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/worker-result'", range = { end = { character = 19, line = 38 }, start = { character = 6, line = 38 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/worker/core.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/->value-event'", range = { end = { character = 19, line = 9 }, start = { character = 6, line = 9 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/stop-worker-sync!'", range = { end = { character = 23, line = 22 }, start = { character = 6, line = 22 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/worker-state'", range = { end = { character = 18, line = 29 }, start = { character = 6, line = 29 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.worker.core/worker-result'", range = { end = { character = 19, line = 38 }, start = { character = 6, line = 38 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/worker/core.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "unused-binding", message = "unused binding started-at", range = { end = { character = 21, line = 58 }, start = { character = 11, line = 58 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/worker/process.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "unused-binding", message = "unused binding started-at", range = { end = { character = 21, line = 58 }, start = { character = 11, line = 58 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/worker/process.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/worker/manifest.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = {}, uri = "file:///<project_path>/src/k16/kx/worker/manifest.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/PING'", range = { end = { character = 9, line = 2 }, start = { character = 5, line = 2 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/TOLD-TO-QUIT'", range = { end = { character = 17, line = 3 }, start = { character = 5, line = 3 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/BOOT'", range = { end = { character = 9, line = 4 }, start = { character = 5, line = 4 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/INITIAL-MANIFEST-FOUND'", range = { end = { character = 27, line = 7 }, start = { character = 5, line = 7 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/events.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/PING'", range = { end = { character = 9, line = 2 }, start = { character = 5, line = 2 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/TOLD-TO-QUIT'", range = { end = { character = 17, line = 3 }, start = { character = 5, line = 3 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/BOOT'", range = { end = { character = 9, line = 4 }, start = { character = 5, line = 4 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.events/INITIAL-MANIFEST-FOUND'", range = { end = { character = 27, line = 7 }, start = { character = 5, line = 7 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/events.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.encoding/command-regex'", range = { end = { character = 18, line = 19 }, start = { character = 5, line = 19 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.encoding/arg-regex'", range = { end = { character = 14, line = 22 }, start = { character = 5, line = 22 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/encoding.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.encoding/command-regex'", range = { end = { character = 18, line = 19 }, start = { character = 5, line = 19 } }, severity = 3, source = "clojure-lsp", tags = { 1 } }, { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.encoding/arg-regex'", range = { end = { character = 14, line = 22 }, start = { character = 5, line = 22 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/encoding.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "unused-binding", message = "unused binding collected-opts", range = { end = { character = 22, line = 104 }, start = { character = 8, line = 104 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding errors", range = { end = { character = 43, line = 106 }, start = { character = 37, line = 106 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding collected-opts", range = { end = { character = 23, line = 128 }, start = { character = 9, line = 128 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding errors", range = { end = { character = 44, line = 129 }, start = { character = 38, line = 129 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding summary", range = { end = { character = 52, line = 129 }, start = { character = 45, line = 129 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding args", range = { end = { character = 17, line = 140 }, start = { character = 13, line = 140 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding collected-opts", range = { end = { character = 33, line = 147 }, start = { character = 19, line = 147 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/cli.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "unused-binding", message = "unused binding collected-opts", range = { end = { character = 22, line = 104 }, start = { character = 8, line = 104 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding errors", range = { end = { character = 43, line = 106 }, start = { character = 37, line = 106 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding collected-opts", range = { end = { character = 23, line = 128 }, start = { character = 9, line = 128 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding errors", range = { end = { character = 44, line = 129 }, start = { character = 38, line = 129 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding summary", range = { end = { character = 52, line = 129 }, start = { character = 45, line = 129 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding args", range = { end = { character = 17, line = 140 }, start = { character = 13, line = 140 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding collected-opts", range = { end = { character = 33, line = 147 }, start = { character = 19, line = 147 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/cli.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.manifest/delete-directory-recursive'", range = { end = { character = 32, line = 7 }, start = { character = 6, line = 7 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/manifest.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "clojure-lsp/unused-public-var", message = "Unused public var 'k16.kx.manifest/delete-directory-recursive'", range = { end = { character = 32, line = 7 }, start = { character = 6, line = 7 } }, severity = 3, source = "clojure-lsp", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/manifest.clj" }}
[DEBUG][2022-09-11 16:33:53] .../vim/lsp/rpc.lua:454 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "unused-binding", message = "unused binding state", range = { end = { character = 38, line = 78 }, start = { character = 33, line = 78 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding state", range = { end = { character = 40, line = 100 }, start = { character = 35, line = 100 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/core.clj" }}
[TRACE][2022-09-11 16:33:53] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" { diagnostics = { { code = "unused-binding", message = "unused binding state", range = { end = { character = 38, line = 78 }, start = { character = 33, line = 78 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding state", range = { end = { character = 40, line = 100 }, start = { character = 35, line = 100 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/core.clj"}
[TRACE][2022-09-11 16:33:53] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" { ctx = '{\n client_id = 3,\n method = "textDocument/publishDiagnostics"\n}', result = { diagnostics = { { code = "unused-binding", message = "unused binding state", range = { end = { character = 38, line = 78 }, start = { character = 33, line = 78 } }, severity = 3, source = "clj-kondo", tags = { 1 } }, { code = "unused-binding", message = "unused binding state", range = { end = { character = 40, line = 100 }, start = { character = 35, line = 100 } }, severity = 3, source = "clj-kondo", tags = { 1 } } }, uri = "file:///<project_path>/src/k16/kx/core.clj" }}
--- formatted struct or initial params from the log below
--- "LSP[clojure_lsp]" "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 = true, deprecatedSupport = true,
documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true,
preselectSupport = true,
resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true,
tagSupport = { valueSet = { 1 } } },
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.2" }, initializationOptions = vim.empty_dict(), processId = 11567,
rootPath = "<project path>", rootUri = "file:///<project path>",
trace = "off",
workspaceFolders = { { name = "<project path>",
uri = "file:///<project path>" } } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment