Created
May 17, 2023 12:26
-
-
Save cristobaltapia/f3d5db6b86da191432db74862ac8313f to your computer and use it in GitHub Desktop.
This file contains hidden or 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][2023-05-17 14:25:34] LSP logging initiated | |
[INFO][2023-05-17 14:25:34] .../vim/lsp/rpc.lua:662 "Starting RPC client" { args = {}, cmd = "/usr/bin/ltex-ls", extra = { cwd = "/home/tapia/Documents/test2" }} | |
[DEBUG][2023-05-17 14:25:34] .../vim/lsp/rpc.lua:284 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { textDocument = { callHierarchy = { dynamicRegistration = false }, codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, isPreferredSupport = true, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, insertTextModeSupport = { valueSet = { 1, 2 } }, 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 } }, completionList = { itemDefaults = { "commitCharacters", "editRange", "insertTextFormat", "insertTextMode", "data" } }, contextSupport = true, dynamicRegistration = false, insertTextMode = 1 }, 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 }, semanticTokens = { augmentsSyntaxTokens = true, dynamicRegistration = false, formats = { "relative" }, multilineTokenSupport = false, overlappingTokenSupport = true, requests = { full = { delta = true }, range = false }, serverCancelSupport = false, 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", "decorator" } }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = true, willSaveWaitUntil = true }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = true }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, didChangeWatchedFiles = { dynamicRegistration = false, relativePatternSupport = true }, semanticTokens = { refreshSupport = 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.9.0" }, initializationOptions = vim.empty_dict(), processId = 14839, rootPath = vim.NIL, rootUri = vim.NIL, trace = "off", workspaceFolders = vim.NIL }} | |
[ERROR][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:734 "rpc" "/usr/bin/ltex-ls" "stderr" "May 17, 2023 2:25:38 PM org.bsplines.ltexls.server.LtexLanguageServer initialize\nINFO: ltex-ls 15.2.0 - initializing...\n" | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 1, jsonrpc = "2.0", result = { capabilities = { codeActionProvider = { codeActionKinds = { "quickfix.ltex.acceptSuggestions" } }, completionProvider = vim.empty_dict(), executeCommandProvider = { commands = { "_ltex.checkDocument", "_ltex.getServerStatus" } }, textDocumentSync = 1 } }} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "initialized", params = vim.empty_dict()} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "workspace/didChangeConfiguration", params = { settings = { ltex = { language = "en-US", languageToolHttpServerUri = "http://192.168.1.103:8081/v2/check" } } }} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "workspace/didChangeConfiguration", params = { settings = { ltex = { language = "en-US", languageToolHttpServerUri = "http://192.168.1.103:8081/v2/check" } } }} | |
[INFO][2023-05-17 14:25:38] .../lua/vim/lsp.lua:1345 "LSP[ltex]" "server_capabilities" { server_capabilities = { codeActionProvider = { codeActionKinds = { "quickfix.ltex.acceptSuggestions" } }, completionProvider = vim.empty_dict(), executeCommandProvider = { commands = { "_ltex.checkDocument", "_ltex.getServerStatus" } }, textDocumentSync = { change = 1, openClose = true, save = { includeText = false }, willSave = false, willSaveWaitUntil = false } }} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didOpen", params = { textDocument = { languageId = "markdown", text = "this is a test\n", uri = "file:///home/tapia/Documents/test2/test_doc.md", version = 0 } }} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = "1", jsonrpc = "2.0", method = "window/workDoneProgress/create", params = { token = '{"uri":"file:///home/tapia/Documents/test2/test_doc.md","operation":"checkDocument","uuid":"36728412-ee1b-4dbc-ef59-5a95d7a20d5d"}' }} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:403 "server_request: callback result" { result = vim.NIL, status = true} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:284 "rpc.send" { id = "1", jsonrpc = "2.0", result = vim.NIL} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = '{"uri":"file:///home/tapia/Documents/test2/test_doc.md","operation":"checkDocument","uuid":"36728412-ee1b-4dbc-ef59-5a95d7a20d5d"}', value = { cancellable = false, kind = "begin", message = "file:///home/tapia/Documents/test2/test_doc.md", title = "Checking document" } }} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = "2", jsonrpc = "2.0", method = "workspace/configuration", params = { items = { { scopeUri = "file:///home/tapia/Documents/test2/test_doc.md", section = "ltex" } } }} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:403 "server_request: callback result" { result = { { language = "en-US", languageToolHttpServerUri = "http://192.168.1.103:8081/v2/check" } }, status = true} | |
[DEBUG][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:284 "rpc.send" { id = "2", jsonrpc = "2.0", result = { { language = "en-US", languageToolHttpServerUri = "http://192.168.1.103:8081/v2/check" } }} | |
[ERROR][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:734 "rpc" "/usr/bin/ltex-ls" "stderr" "May 17, 2023 2:25:38 PM org.bsplines.ltexls.settings.SettingsManager$Companion logDifferentSettings\nFINE: Reinitializing LanguageTool due to different settings for language 'en-US': setting 'languageToolHttpServerUri', old '', new 'http://192.168.1.103:8081/v2/check'\n" | |
[ERROR][2023-05-17 14:25:38] .../vim/lsp/rpc.lua:734 "rpc" "/usr/bin/ltex-ls" "stderr" "May 17, 2023 2:25:38 PM org.bsplines.ltexls.server.DocumentChecker logTextToBeChecked\nFINE: Checking the following text in language 'en-US' via LanguageTool: \"this is a test\\n\"\n" | |
[ERROR][2023-05-17 14:25:39] .../vim/lsp/rpc.lua:734 "rpc" "/usr/bin/ltex-ls" "stderr" "May 17, 2023 2:25:39 PM org.bsplines.ltexls.languagetool.LanguageToolHttpInterface checkInternal\nSEVERE: Could not send the HTTP request to the LanguageTool server. The following exception occurred:\njava.net.ConnectException: Connection refused\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl.send(Unknown Source)\n\tat java.net.http/jdk.internal.net.http.HttpClientFacade.send(Unknown Source)\n\tat org.bsplines.ltexls.languagetool.LanguageToolHttpInterface.checkInternal(LanguageToolHttpInterface.kt:73)\n\tat org.bsplines.ltexls.languagetool.LanguageToolInterface.check(LanguageToolInterface.kt:22)\n\tat org.bsplines.ltexls.server.DocumentChecker.checkAnnotatedTextFragment(DocumentChecker.kt:138)\n\tat org.bsplines.ltexls.server.DocumentChecker.checkAnnotatedTextFragments(DocumentChecker.kt:91)\n\tat org.bsplines.ltexls.server.DocumentChecker.check(DocumentChecker.kt:279)\n\tat org.bsplines.ltexls.server.LtexTextDocumentItem.check(LtexTextDocumentItem.kt:413)\n\tat org.bsplines.ltexls.server.LtexTextDocumentItem.checkAndGetDiagnostics(LtexTextDocumentItem.kt:295)\n\tat org.bsplines.ltexls.server.LtexTextDocumentItem.checkAndPublishDiagnostics(LtexTextDocumentItem.kt:272)\n\tat org.bsplines.ltexls.server.LtexTextDocumentItem.checkAndPublishDiagnosticsWithoutCache(LtexTextDocumentItem.kt:267)\n\tat org.bsplines.ltexls.server.LtexTextDocumentItem.checkAndPublishDiagnosticsWithoutCache$default(LtexTextDocumentItem.kt:266)\n\tat org.bsplines.ltexls.server.LtexTextDocumentService.didOpen$lambda-1(LtexTextDocumentService.kt:155)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\n\tat java.base/java.util.concurrent.FutureTask.run(Unknown Source)\n\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\nCaused by: java.net.ConnectException: Connection refused\n\tat java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)\n\tat java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)\n\tat java.net.http/jdk.internal.net.http.PlainHttpConnection$ConnectEvent.handle(Unknown Source)\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(Unknown Source)\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(Unknown Source)\n\tat java.base/java.util.ArrayList.forEach(Unknown Source)\n\tat java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(Unknown Source)\n\n" | |
[ERROR][2023-05-17 14:25:39] .../vim/lsp/rpc.lua:734 "rpc" "/usr/bin/ltex-ls" "stderr" "May 17, 2023 2:25:39 PM org.bsplines.ltexls.server.DocumentChecker checkAnnotatedTextFragment\nFINE: Obtained 0 rule matches\n" | |
[DEBUG][2023-05-17 14:25:39] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "$/progress", params = { token = '{"uri":"file:///home/tapia/Documents/test2/test_doc.md","operation":"checkDocument","uuid":"36728412-ee1b-4dbc-ef59-5a95d7a20d5d"}', value = { kind = "end" } }} | |
[DEBUG][2023-05-17 14:25:39] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///home/tapia/Documents/test2/test_doc.md" }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment