Skip to content

Instantly share code, notes, and snippets.

@aktau
Created July 7, 2020 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aktau/efa2ae3ba87293a1989b21b3ab6f2294 to your computer and use it in GitHub Desktop.
Save aktau/efa2ae3ba87293a1989b21b3ab6f2294 to your computer and use it in GitHub Desktop.
[ INFO ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:202 ] "Starting RPC client" { args = {}, cmd = "efm-langserver", extra = {}}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:458 ] "LSP[efm]" "initialize_params" { capabilities = { textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = {}, <metatable> = <1>{ __tostring = <function 1> } }, <metatable> = <table 1> }, dynamicRegistration = false, <metatable> = <table 1> }, completion = { completionItem = { commitCharactersSupport = false, deprecatedSupport = false, documentationFormat = { "markdown", "plaintext" }, preselectSupport = false, snippetSupport = true, <metatable> = <table 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 }, <metatable> = <table 1> }, contextSupport = false, dynamicRegistration = false, <metatable> = <table 1> }, declaration = { linkSupport = true, <metatable> = <table 1> }, definition = { linkSupport = true, <metatable> = <table 1> }, documentHighlight = { dynamicRegistration = false, <metatable> = <table 1> }, 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 }, <metatable> = <table 1> }, <metatable> = <table 1> }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false, <metatable> = <table 1> }, implementation = { linkSupport = true, <metatable> = <table 1> }, references = { dynamicRegistration = false, <metatable> = <table 1> }, signatureHelp = { dynamicRegistration = false, signatureInformation = { documentationFormat = { "markdown", "plaintext" }, <metatable> = <table 1> }, <metatable> = <table 1> }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false, <metatable> = <table 1> }, typeDefinition = { linkSupport = true, <metatable> = <table 1> }, <metatable> = <table 1> }, 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 }, <metatable> = <table 1> }, <metatable> = <table 1> }, <metatable> = <table 1> } }, initializationOptions = vim.empty_dict(), processId = 29971, rootPath = "/", rootUri = "file:///", trace = "off"}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:269 ] "rpc.send.payload" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = {}, <metatable> = <1>{ __tostring = <function 1> } }, <metatable> = <table 1> }, dynamicRegistration = false, <metatable> = <table 1> }, completion = { completionItem = { commitCharactersSupport = false, deprecatedSupport = false, documentationFormat = { "markdown", "plaintext" }, preselectSupport = false, snippetSupport = true, <metatable> = <table 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 }, <metatable> = <table 1> }, contextSupport = false, dynamicRegistration = false, <metatable> = <table 1> }, declaration = { linkSupport = true, <metatable> = <table 1> }, definition = { linkSupport = true, <metatable> = <table 1> }, documentHighlight = { dynamicRegistration = false, <metatable> = <table 1> }, 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 }, <metatable> = <table 1> }, <metatable> = <table 1> }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false, <metatable> = <table 1> }, implementation = { linkSupport = true, <metatable> = <table 1> }, references = { dynamicRegistration = false, <metatable> = <table 1> }, signatureHelp = { dynamicRegistration = false, signatureInformation = { documentationFormat = { "markdown", "plaintext" }, <metatable> = <table 1> }, <metatable> = <table 1> }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false, <metatable> = <table 1> }, typeDefinition = { linkSupport = true, <metatable> = <table 1> }, <metatable> = <table 1> }, 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 }, <metatable> = <table 1> }, <metatable> = <table 1> }, <metatable> = <table 1> } }, initializationOptions = vim.empty_dict(), processId = 29971, rootPath = "/", rootUri = "file:///", trace = "off" }}
[ ERROR ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:319 ] "rpc" "efm-langserver" "stderr" "2020/07/07 23:17:29 efm-langserver: reading on stdin, writing on stdout\n"
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:349 ] "decoded" { id = 1, jsonrpc = "2.0", result = { capabilities = { definitionProvider = true, textDocumentSync = 1, workspace = { workspaceFolders = { changeNotifications = true, supported = true } } } }}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:280 ] "rpc.notify" "initialized" { [true] = 6}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:269 ] "rpc.send.payload" { jsonrpc = "2.0", method = "initialized", params = { [true] = 6 }}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:475 ] "LSP[efm]" "server_capabilities" { definitionProvider = true, textDocumentSync = 1, workspace = { workspaceFolders = { changeNotifications = true, supported = true } }}
[ INFO ] 2020-07-07T23:17:29+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:476 ] "LSP[efm]" "initialized" { resolved_capabilities = { code_action = false, declaration = false, document_formatting = false, document_highlight = false, document_range_formatting = false, document_symbol = false, find_references = false, goto_definition = true, hover = false, implementation = false, signature_help = false, signature_help_trigger_characters = {}, text_document_did_change = 1, 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 = false, workspace_symbol = false }}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:280 ] "rpc.notify" "textDocument/didOpen" { textDocument = { languageId = "sh", text = "#!/bin/sh\n\necho `ls -la`\necho `ls -la`\necho `ls -la`\n\nfor i in $(seq 1 5) ; do\n :\ndone\n", uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 0 }}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:269 ] "rpc.send.payload" { jsonrpc = "2.0", method = "textDocument/didOpen", params = { textDocument = { languageId = "sh", text = "#!/bin/sh\n\necho `ls -la`\necho `ls -la`\necho `ls -la`\n\nfor i in $(seq 1 5) ; do\n :\ndone\n", uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 0 } }}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:349 ] "decoded" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 4 }, start = { character = 5, line = 4 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "i appears unused. Verify use (or export if used externally). [SC2034]", range = { end = { character = 3, line = 6 }, start = { character = 0, line = 6 } }, severity = 2 } }, uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 0 }}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:343 ] "notification" "textDocument/publishDiagnostics" { diagnostics = { { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 4 }, start = { character = 5, line = 4 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "i appears unused. Verify use (or export if used externally). [SC2034]", range = { end = { character = 3, line = 6 }, start = { character = 0, line = 6 } }, severity = 2 } }, uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 0}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...geer/neovim/share/nvim/runtime/lua/vim/lsp/callbacks.lua:257 ] "default_callback" "textDocument/publishDiagnostics" { client_id = 1, params = { diagnostics = { { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 4 }, start = { character = 5, line = 4 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "i appears unused. Verify use (or export if used externally). [SC2034]", range = { end = { character = 3, line = 6 }, start = { character = 0, line = 6 } }, severity = 2 } }, uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 0 }}
# HERE I DELETE THE LINE
[ DEBUG ] 2020-07-07T23:17:52+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:587 ] "on_lines" 1 4 3 4 3 14 14 14 {}
[ DEBUG ] 2020-07-07T23:17:52+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:280 ] "rpc.notify" "textDocument/didChange" { contentChanges = { { text = "#!/bin/sh\n\necho `ls -la`\necho `ls -la`\n\nfor i in $(seq 1 5) ; do\n :\ndone\n" } }, textDocument = { uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 4 }}
[ DEBUG ] 2020-07-07T23:17:52+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:269 ] "rpc.send.payload"{ jsonrpc = "2.0", method = "textDocument/didChange", params = { contentChanges = { { text = "#!/bin/sh\n\necho `ls -la`\necho `ls -la`\n\nfor i in $(seq 1 5) ; do\n :\ndone\n" } }, textDocument = { uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 4 } }}
[ DEBUG ] 2020-07-07T23:17:52+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:349 ] "decoded" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 5, line = 4 }, start = { character = 5, line = 4 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 5, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 5, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "i appears unused. Verify use (or export if used externally). [SC2034]", range = { end = { character = 4, line = 6 }, start = { character = 0, line = 6 } }, severity = 2 } }, uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 4 }}
[ DEBUG ] 2020-07-07T23:17:52+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:343 ] "notification" "textDocument/publishDiagnostics" { diagnostics = { { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 5, line = 4 }, start = { character = 5, line = 4 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 5, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 5, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "i appears unused. Verify use (or export if used externally). [SC2034]", range = { end = { character = 4, line = 6 }, start = { character = 0, line = 6 } }, severity = 2 } }, uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 4}
[ DEBUG ] 2020-07-07T23:17:52+0200 ] ...geer/neovim/share/nvim/runtime/lua/vim/lsp/callbacks.lua:257 ] "default_callback" "textDocument/publishDiagnostics" { client_id = 1, params = { diagnostics = { { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 2 }, start = { character = 5, line = 2 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 8, line = 3 }, start = { character = 5, line = 3 } }, severity = 1 }, { message = "Quote this to prevent word splitting. [SC2046]", range = { end = { character = 5, line = 4 }, start = { character = 5, line = 4 } }, severity = 2 }, { message = "Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. [SC2005]", range = { end = { character = 5, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "Use $(..) instead of legacy `..`. [SC2006]", range = { end = { character = 5, line = 4 }, start = { character = 5, line = 4 } }, severity = 1 }, { message = "i appears unused. Verify use (or export if used externally). [SC2034]", range = { end = { character = 4, line = 6 }, start = { character = 0, line = 6 } }, severity = 2 } }, uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 4 }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment