Skip to content

Instantly share code, notes, and snippets.

@armed
Created September 11, 2022 10:50
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 armed/501e8153d438483f2333c286df2f3437 to your computer and use it in GitHub Desktop.
Save armed/501e8153d438483f2333c286df2f3437 to your computer and use it in GitHub Desktop.
"LSP[clojure_lsp]" "client.request" 3 "textDocument/documentHighlight" { position = { character = 8, line = 14 }, textDocument = { uri = "file:///<project_path>/src/k16/kx/util.clj" }} <function 1> 47
"rpc.send" { id = 151, jsonrpc = "2.0", method = "textDocument/documentHighlight", params = { position = { character = 8, line = 14 }, textDocument = { uri = "file:///<project_path>/src/k16/kx/util.clj" } }}
"rpc.receive" { id = 151, jsonrpc = "2.0", result = { { range = { end = { character = 22, line = 14 }, start = { character = 3, line = 14 } } } }}
"default_handler" "textDocument/documentHighlight" { ctx = '{\n bufnr = 47,\n client_id = 3,\n method = "textDocument/documentHighlight",\n params = {\n position = {\n character = 8,\n line = 14\n },\n textDocument = {\n uri = "file:///<project_path>/src/k16/kx/util.clj"\n }\n }\n}', result = { { range = { end = { character = 22, line = 14 }, start = { character = 3, line = 14 } } } }}
"LSP[clojure_lsp]" "client.request" 3 "textDocument/definition" { position = { character = 8, line = 14 }, textDocument = { uri = "file:///<project_path>/src/k16/kx/util.clj" }} <function 1> 47
"rpc.send" { id = 152, jsonrpc = "2.0", method = "textDocument/definition", params = { position = { character = 8, line = 14 }, textDocument = { uri = "file:///<project_path>/src/k16/kx/util.clj" } }}
"rpc.receive" { error = { code = -32603, data = { id = 152, method = "textDocument/definition" }, message = "Internal error" }, id = 152, jsonrpc = "2.0"}
"default_handler" "textDocument/definition" { ctx = '{\n bufnr = 47,\n client_id = 3,\n method = "textDocument/definition",\n params = {\n position = {\n character = 8,\n line = 14\n },\n textDocument = {\n uri = "file:///<project_path>/src/k16/kx/util.clj"\n }\n }\n}', err = { code = -32603, data = { id = 152, method = "textDocument/definition" }, message = "Internal error", <metatable> = { __tostring = <function 1> } }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment