-
-
Save Diomendius/e359bacac0b4db45f0cf0a1b1cdc26aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[START][2023-07-12 20:50:05] LSP logging initiated | |
[INFO][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:662 "Starting RPC client" { | |
args = { "--stdio" }, | |
cmd = "/usr/bin/pyright-langserver", | |
extra = { | |
cwd = "/tmp/scratch.C9o" | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1307 "LSP[pyright]" "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 = false, | |
deprecatedSupport = false, | |
documentationFormat = { "markdown", "plaintext" }, | |
preselectSupport = false, | |
snippetSupport = false | |
}, | |
completionItemKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } | |
}, | |
contextSupport = false, | |
dynamicRegistration = false | |
}, | |
declaration = { | |
linkSupport = true | |
}, | |
definition = { | |
linkSupport = true | |
}, | |
documentHighlight = { | |
dynamicRegistration = false | |
}, | |
documentSymbol = { | |
dynamicRegistration = false, | |
hierarchicalDocumentSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
hover = { | |
contentFormat = { "markdown", "plaintext" }, | |
dynamicRegistration = false | |
}, | |
implementation = { | |
linkSupport = true | |
}, | |
publishDiagnostics = { | |
relatedInformation = true, | |
tagSupport = { | |
valueSet = { 1, 2 } | |
} | |
}, | |
references = { | |
dynamicRegistration = false | |
}, | |
rename = { | |
dynamicRegistration = false, | |
prepareSupport = true | |
}, | |
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.1" | |
}, | |
initializationOptions = vim.empty_dict(), | |
processId = 5476, | |
rootPath = "/tmp/scratch.C9o", | |
rootUri = "file:///tmp/scratch.C9o", | |
trace = "off", | |
workspaceFolders = { { | |
name = "/tmp/scratch.C9o", | |
uri = "file:///tmp/scratch.C9o" | |
} } | |
} | |
[DEBUG][2023-07-12 20:50:05] .../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 = false, | |
deprecatedSupport = false, | |
documentationFormat = { "markdown", "plaintext" }, | |
preselectSupport = false, | |
snippetSupport = false | |
}, | |
completionItemKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } | |
}, | |
contextSupport = false, | |
dynamicRegistration = false | |
}, | |
declaration = { | |
linkSupport = true | |
}, | |
definition = { | |
linkSupport = true | |
}, | |
documentHighlight = { | |
dynamicRegistration = false | |
}, | |
documentSymbol = { | |
dynamicRegistration = false, | |
hierarchicalDocumentSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
hover = { | |
contentFormat = { "markdown", "plaintext" }, | |
dynamicRegistration = false | |
}, | |
implementation = { | |
linkSupport = true | |
}, | |
publishDiagnostics = { | |
relatedInformation = true, | |
tagSupport = { | |
valueSet = { 1, 2 } | |
} | |
}, | |
references = { | |
dynamicRegistration = false | |
}, | |
rename = { | |
dynamicRegistration = false, | |
prepareSupport = true | |
}, | |
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.1" | |
}, | |
initializationOptions = vim.empty_dict(), | |
processId = 5476, | |
rootPath = "/tmp/scratch.C9o", | |
rootUri = "file:///tmp/scratch.C9o", | |
trace = "off", | |
workspaceFolders = { { | |
name = "/tmp/scratch.C9o", | |
uri = "file:///tmp/scratch.C9o" | |
} } | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "window/logMessage", | |
params = { | |
message = "Pyright language server 1.1.316 starting", | |
type = 3 | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1053 "notification" "window/logMessage" { | |
message = "Pyright language server 1.1.316 starting", | |
type = 3 | |
} | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "window/logMessage" { | |
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}', | |
result = { | |
message = "Pyright language server 1.1.316 starting", | |
type = 3 | |
} | |
} | |
[INFO][2023-07-12 20:50:05] ...lsp/handlers.lua:539 "Pyright language server 1.1.316 starting" | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "window/logMessage", | |
params = { | |
message = "Server root directory: /usr/lib/node_modules/pyright/dist/", | |
type = 3 | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1053 "notification" "window/logMessage" { | |
message = "Server root directory: /usr/lib/node_modules/pyright/dist/", | |
type = 3 | |
} | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "window/logMessage" { | |
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}', | |
result = { | |
message = "Server root directory: /usr/lib/node_modules/pyright/dist/", | |
type = 3 | |
} | |
} | |
[INFO][2023-07-12 20:50:05] ...lsp/handlers.lua:539 "Server root directory: /usr/lib/node_modules/pyright/dist/" | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "window/logMessage", | |
params = { | |
message = 'Starting service instance "/tmp/scratch.C9o"', | |
type = 3 | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1053 "notification" "window/logMessage" { | |
message = 'Starting service instance "/tmp/scratch.C9o"', | |
type = 3 | |
} | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "window/logMessage" { | |
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}', | |
result = { | |
message = 'Starting service instance "/tmp/scratch.C9o"', | |
type = 3 | |
} | |
} | |
[INFO][2023-07-12 20:50:05] ...lsp/handlers.lua:539 'Starting service instance "/tmp/scratch.C9o"' | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
id = 1, | |
jsonrpc = "2.0", | |
result = { | |
capabilities = { | |
callHierarchyProvider = true, | |
codeActionProvider = { | |
codeActionKinds = { "quickfix", "source.organizeImports" }, | |
workDoneProgress = true | |
}, | |
completionProvider = { | |
completionItem = { | |
labelDetailsSupport = true | |
}, | |
resolveProvider = true, | |
triggerCharacters = { ".", "[", '"', "'" }, | |
workDoneProgress = true | |
}, | |
declarationProvider = { | |
workDoneProgress = true | |
}, | |
definitionProvider = { | |
workDoneProgress = true | |
}, | |
documentHighlightProvider = { | |
workDoneProgress = true | |
}, | |
documentSymbolProvider = { | |
workDoneProgress = true | |
}, | |
executeCommandProvider = { | |
commands = {}, | |
workDoneProgress = true | |
}, | |
hoverProvider = { | |
workDoneProgress = true | |
}, | |
referencesProvider = { | |
workDoneProgress = true | |
}, | |
renameProvider = { | |
prepareProvider = true, | |
workDoneProgress = true | |
}, | |
signatureHelpProvider = { | |
triggerCharacters = { "(", ",", ")" }, | |
workDoneProgress = true | |
}, | |
textDocumentSync = 2, | |
typeDefinitionProvider = { | |
workDoneProgress = true | |
}, | |
workspace = { | |
workspaceFolders = { | |
changeNotifications = true, | |
supported = true | |
} | |
}, | |
workspaceSymbolProvider = { | |
workDoneProgress = true | |
} | |
} | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "initialized", | |
params = vim.empty_dict() | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "workspace/didChangeConfiguration", | |
params = { | |
settings = { | |
python = { | |
analysis = { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} | |
} | |
} | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "workspace/didChangeConfiguration", | |
params = { | |
settings = { | |
python = { | |
analysis = { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} | |
} | |
} | |
} | |
} | |
[INFO][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1345 "LSP[pyright]" "server_capabilities" { | |
server_capabilities = { | |
callHierarchyProvider = true, | |
codeActionProvider = { | |
codeActionKinds = { "quickfix", "source.organizeImports" }, | |
workDoneProgress = true | |
}, | |
completionProvider = { | |
completionItem = { | |
labelDetailsSupport = true | |
}, | |
resolveProvider = true, | |
triggerCharacters = { ".", "[", '"', "'" }, | |
workDoneProgress = true | |
}, | |
declarationProvider = { | |
workDoneProgress = true | |
}, | |
definitionProvider = { | |
workDoneProgress = true | |
}, | |
documentHighlightProvider = { | |
workDoneProgress = true | |
}, | |
documentSymbolProvider = { | |
workDoneProgress = true | |
}, | |
executeCommandProvider = { | |
commands = {}, | |
workDoneProgress = true | |
}, | |
hoverProvider = { | |
workDoneProgress = true | |
}, | |
referencesProvider = { | |
workDoneProgress = true | |
}, | |
renameProvider = { | |
prepareProvider = true, | |
workDoneProgress = true | |
}, | |
signatureHelpProvider = { | |
triggerCharacters = { "(", ",", ")" }, | |
workDoneProgress = true | |
}, | |
textDocumentSync = { | |
change = 2, | |
openClose = true, | |
save = { | |
includeText = false | |
}, | |
willSave = false, | |
willSaveWaitUntil = false | |
}, | |
typeDefinitionProvider = { | |
workDoneProgress = true | |
}, | |
workspace = { | |
workspaceFolders = { | |
changeNotifications = true, | |
supported = true | |
} | |
}, | |
workspaceSymbolProvider = { | |
workDoneProgress = true | |
} | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "textDocument/didOpen", | |
params = { | |
textDocument = { | |
languageId = "python", | |
text = "\n", | |
uri = "file:///tmp/scratch.C9o/foo.py", | |
version = 0 | |
} | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
id = 0, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python" | |
} } | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1067 "server_request" "workspace/configuration" { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python" | |
} } | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1070 "server_request: found handler for" "workspace/configuration" | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "workspace/configuration" { | |
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}', | |
result = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python" | |
} } | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:403 "server_request: callback result" { | |
result = { { | |
analysis = { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} | |
} }, | |
status = true | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
id = 0, | |
jsonrpc = "2.0", | |
result = { { | |
analysis = { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} | |
} } | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
id = 1, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python" | |
} } | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1067 "server_request" "workspace/configuration" { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python" | |
} } | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1070 "server_request: found handler for" "workspace/configuration" | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "workspace/configuration" { | |
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}', | |
result = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python" | |
} } | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:403 "server_request: callback result" { | |
result = { { | |
analysis = { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} | |
} }, | |
status = true | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
id = 1, | |
jsonrpc = "2.0", | |
result = { { | |
analysis = { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} | |
} } | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
id = 2, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python.analysis" | |
} } | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1067 "server_request" "workspace/configuration" { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python.analysis" | |
} } | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1070 "server_request: found handler for" "workspace/configuration" | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "workspace/configuration" { | |
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}', | |
result = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python.analysis" | |
} } | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:403 "server_request: callback result" { | |
result = { { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} }, | |
status = true | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
id = 2, | |
jsonrpc = "2.0", | |
result = { { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} } | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
id = 3, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python.analysis" | |
} } | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1067 "server_request" "workspace/configuration" { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python.analysis" | |
} } | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1070 "server_request: found handler for" "workspace/configuration" | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "workspace/configuration" { | |
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}', | |
result = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "python.analysis" | |
} } | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:403 "server_request: callback result" { | |
result = { { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} }, | |
status = true | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
id = 3, | |
jsonrpc = "2.0", | |
result = { { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} } | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
id = 4, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "pyright" | |
} } | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1067 "server_request" "workspace/configuration" { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "pyright" | |
} } | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1070 "server_request: found handler for" "workspace/configuration" | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "workspace/configuration" { | |
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}', | |
result = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "pyright" | |
} } | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:403 "server_request: callback result" { | |
result = { vim.NIL }, | |
status = true | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
id = 4, | |
jsonrpc = "2.0", | |
result = { vim.NIL } | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
id = 5, | |
jsonrpc = "2.0", | |
method = "workspace/configuration", | |
params = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "pyright" | |
} } | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1067 "server_request" "workspace/configuration" { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "pyright" | |
} } | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1070 "server_request: found handler for" "workspace/configuration" | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "workspace/configuration" { | |
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}', | |
result = { | |
items = { { | |
scopeUri = "file:///tmp/scratch.C9o", | |
section = "pyright" | |
} } | |
} | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:403 "server_request: callback result" { | |
result = { vim.NIL }, | |
status = true | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
id = 5, | |
jsonrpc = "2.0", | |
result = { vim.NIL } | |
} | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "window/logMessage", | |
params = { | |
message = "Found 1 source file", | |
type = 3 | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1053 "notification" "window/logMessage" { | |
message = "Found 1 source file", | |
type = 3 | |
} | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "window/logMessage" { | |
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}', | |
result = { | |
message = "Found 1 source file", | |
type = 3 | |
} | |
} | |
[INFO][2023-07-12 20:50:05] ...lsp/handlers.lua:539 "Found 1 source file" | |
[DEBUG][2023-07-12 20:50:05] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "window/logMessage", | |
params = { | |
message = "Found 1 source file", | |
type = 3 | |
} | |
} | |
[TRACE][2023-07-12 20:50:05] .../lua/vim/lsp.lua:1053 "notification" "window/logMessage" { | |
message = "Found 1 source file", | |
type = 3 | |
} | |
[TRACE][2023-07-12 20:50:05] ...lsp/handlers.lua:618 "default_handler" "window/logMessage" { | |
ctx = '{\n client_id = 1,\n method = "window/logMessage"\n}', | |
result = { | |
message = "Found 1 source file", | |
type = 3 | |
} | |
} | |
[INFO][2023-07-12 20:50:05] ...lsp/handlers.lua:539 "Found 1 source file" | |
[DEBUG][2023-07-12 20:50:06] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///tmp/scratch.C9o/foo.py", | |
version = 0 | |
} | |
} | |
[TRACE][2023-07-12 20:50:06] .../lua/vim/lsp.lua:1053 "notification" "textDocument/publishDiagnostics" { | |
diagnostics = {}, | |
uri = "file:///tmp/scratch.C9o/foo.py", | |
version = 0 | |
} | |
[TRACE][2023-07-12 20:50:06] ...lsp/handlers.lua:618 "default_handler" "textDocument/publishDiagnostics" { | |
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}', | |
result = { | |
diagnostics = {}, | |
uri = "file:///tmp/scratch.C9o/foo.py", | |
version = 0 | |
} | |
} | |
[DEBUG][2023-07-12 20:50:27] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
jsonrpc = "2.0", | |
method = "textDocument/didOpen", | |
params = { | |
textDocument = { | |
languageId = "python", | |
text = "\n", | |
uri = "file:///tmp/scratch.C9o/bar.py", | |
version = 0 | |
} | |
} | |
} | |
[DEBUG][2023-07-12 20:50:27] .../vim/lsp/rpc.lua:387 "rpc.receive" { | |
jsonrpc = "2.0", | |
method = "textDocument/publishDiagnostics", | |
params = { | |
diagnostics = {}, | |
uri = "file:///tmp/scratch.C9o/bar.py", | |
version = 0 | |
} | |
} | |
[TRACE][2023-07-12 20:50:27] .../lua/vim/lsp.lua:1053 "notification" "textDocument/publishDiagnostics" { | |
diagnostics = {}, | |
uri = "file:///tmp/scratch.C9o/bar.py", | |
version = 0 | |
} | |
[TRACE][2023-07-12 20:50:27] ...lsp/handlers.lua:618 "default_handler" "textDocument/publishDiagnostics" { | |
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}', | |
result = { | |
diagnostics = {}, | |
uri = "file:///tmp/scratch.C9o/bar.py", | |
version = 0 | |
} | |
} | |
[INFO][2023-07-12 20:54:33] .../lua/vim/lsp.lua:1876 "exit_handler" { { | |
_on_attach = , | |
attached_buffers = { true, | |
[4] = true | |
}, | |
cancel_request = , | |
commands = {}, | |
config = { | |
_on_attach = , | |
autostart = false, | |
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 = false, | |
deprecatedSupport = false, | |
documentationFormat = { "markdown", "plaintext" }, | |
preselectSupport = false, | |
snippetSupport = false | |
}, | |
completionItemKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } | |
}, | |
contextSupport = false, | |
dynamicRegistration = false | |
}, | |
declaration = { | |
linkSupport = true | |
}, | |
definition = { | |
linkSupport = true | |
}, | |
documentHighlight = { | |
dynamicRegistration = false | |
}, | |
documentSymbol = { | |
dynamicRegistration = false, | |
hierarchicalDocumentSymbolSupport = true, | |
symbolKind = { | |
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } | |
} | |
}, | |
hover = { | |
contentFormat = { "markdown", "plaintext" }, | |
dynamicRegistration = false | |
}, | |
implementation = { | |
linkSupport = true | |
}, | |
publishDiagnostics = { | |
relatedInformation = true, | |
tagSupport = { | |
valueSet = { 1, 2 } | |
} | |
}, | |
references = { | |
dynamicRegistration = false | |
}, | |
rename = { | |
dynamicRegistration = false, | |
prepareSupport = true | |
}, | |
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 | |
} | |
}, | |
cmd = { "/usr/bin/pyright-langserver", "--stdio" }, | |
cmd_cwd = "/tmp/scratch.C9o", | |
filetypes = { "python" }, | |
flags = {}, | |
get_language_id = , | |
handlers = <1>{}, | |
init_options = vim.empty_dict(), | |
log_level = 2, | |
message_level = 2, | |
name = "pyright", | |
on_attach = , | |
on_exit = , | |
on_init = , | |
root_dir = "/tmp/scratch.C9o", | |
settings = { | |
python = { | |
analysis = { | |
autoSearchPaths = true, | |
diagnosticMode = "workspace", | |
useLibraryCodeForTypes = true | |
} | |
} | |
}, | |
single_file_support = true, | |
workspace_folders = <2>{ { | |
name = "/tmp/scratch.C9o", | |
uri = "file:///tmp/scratch.C9o" | |
} }, | |
= <3>{ | |
__tostring = | |
} | |
}, | |
handlers = , | |
id = 1, | |
initialized = true, | |
is_stopped = , | |
messages = { | |
messages = {}, | |
name = "pyright", | |
progress = {}, | |
status = {} | |
}, | |
name = "pyright", | |
notify = , | |
offset_encoding = "utf-16", | |
request = , | |
request_sync = , | |
requests = {}, | |
rpc = { | |
is_closing = , | |
notify = , | |
request = , | |
terminate = | |
}, | |
server_capabilities = { | |
callHierarchyProvider = true, | |
codeActionProvider = { | |
codeActionKinds = { "quickfix", "source.organizeImports" }, | |
workDoneProgress = true | |
}, | |
completionProvider = { | |
completionItem = { | |
labelDetailsSupport = true | |
}, | |
resolveProvider = true, | |
triggerCharacters = { ".", "[", '"', "'" }, | |
workDoneProgress = true | |
}, | |
declarationProvider = { | |
workDoneProgress = true | |
}, | |
definitionProvider = { | |
workDoneProgress = true | |
}, | |
documentHighlightProvider = { | |
workDoneProgress = true | |
}, | |
documentSymbolProvider = { | |
workDoneProgress = true | |
}, | |
executeCommandProvider = { | |
commands = {}, | |
workDoneProgress = true | |
}, | |
hoverProvider = { | |
workDoneProgress = true | |
}, | |
referencesProvider = { | |
workDoneProgress = true | |
}, | |
renameProvider = { | |
prepareProvider = true, | |
workDoneProgress = true | |
}, | |
signatureHelpProvider = { | |
triggerCharacters = { "(", ",", ")" }, | |
workDoneProgress = true | |
}, | |
textDocumentSync = { | |
change = 2, | |
openClose = true, | |
save = { | |
includeText = false | |
}, | |
willSave = false, | |
willSaveWaitUntil = false | |
}, | |
typeDefinitionProvider = { | |
workDoneProgress = true | |
}, | |
workspace = { | |
workspaceFolders = { | |
changeNotifications = true, | |
supported = true | |
} | |
}, | |
workspaceSymbolProvider = { | |
workDoneProgress = true | |
} | |
}, | |
stop = , | |
supports_method = , | |
workspace_did_change_configuration = , | |
workspace_folders = | |
} } | |
[DEBUG][2023-07-12 20:54:33] .../vim/lsp/rpc.lua:284 "rpc.send" { | |
id = 2, | |
jsonrpc = "2.0", | |
method = "shutdown" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment