Skip to content

Instantly share code, notes, and snippets.

@mjlbach
Created October 15, 2021 04:34
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 mjlbach/a3349d94a8d9e8bb6473d2924ccde425 to your computer and use it in GitHub Desktop.
Save mjlbach/a3349d94a8d9e8bb6473d2924ccde425 to your computer and use it in GitHub Desktop.
pyright_desynchronization.log
[DEBUG][2021-10-14 21:08:43] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 4, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 1, old_utf32_size: 1, old_utf16_size: 1" { "f" }
[DEBUG][2021-10-14 21:08:43] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 0,
line = 0
},
start = {
character = 0,
line = 0
}
},
rangeLength = 0,
text = "f"
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 4
}
}
}
[DEBUG][2021-10-14 21:08:43] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 5, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 2, old_utf32_size: 2, old_utf16_size: 2" { "f " }
[DEBUG][2021-10-14 21:08:43] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 1,
line = 0
},
start = {
character = 1,
line = 0
}
},
rangeLength = 0,
text = " "
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 5
}
}
}
[DEBUG][2021-10-14 21:08:44] .../vim/lsp/rpc.lua:435 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "reportUndefinedVariable",
codeDescription = {
href = "https://github.com/microsoft/pyright/blob/main/docs/configuration.md"
},
message = '"f" is not defined',
range = {
end = {
character = 1,
line = 0
},
start = {
character = 0,
line = 0
}
},
severity = 1,
source = "Pyright"
} },
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 5
}
}
[DEBUG][2021-10-14 21:08:44] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 6, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 3, old_utf32_size: 3, old_utf16_size: 3" { "f =" }
[DEBUG][2021-10-14 21:08:44] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 2,
line = 0
},
start = {
character = 2,
line = 0
}
},
rangeLength = 0,
text = "="
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 6
}
}
}
[DEBUG][2021-10-14 21:08:44] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 7, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 4, old_utf32_size: 4, old_utf16_size: 4" { "f = " }
[DEBUG][2021-10-14 21:08:44] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 3,
line = 0
},
start = {
character = 3,
line = 0
}
},
rangeLength = 0,
text = " "
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 7
}
}
}
[DEBUG][2021-10-14 21:08:44] .../vim/lsp/rpc.lua:435 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
message = 'Expected expression to the right of "="',
range = {
end = {
character = 5,
line = 0
},
start = {
character = 4,
line = 0
}
},
severity = 1,
source = "Pyright"
} },
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 7
}
}
[DEBUG][2021-10-14 21:08:45] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 8, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 5, old_utf32_size: 5, old_utf16_size: 5" { "f = { \r }" }
[DEBUG][2021-10-14 21:08:45] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 4,
line = 0
},
start = {
character = 4,
line = 0
}
},
rangeLength = 0,
text = "{ \r }"
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 8
}
}
}
[DEBUG][2021-10-14 21:08:45] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 9, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 10, old_utf32_size: 10, old_utf16_size: 10" { "f = { }" }
[DEBUG][2021-10-14 21:08:45] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 7,
line = 0
},
start = {
character = 6,
line = 0
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 9
}
}
}
[DEBUG][2021-10-14 21:08:45] .../vim/lsp/rpc.lua:435 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 9
}
}
[DEBUG][2021-10-14 21:08:47] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 10, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 9, old_utf32_size: 9, old_utf16_size: 9" { 'f = { "\r" }' }
[DEBUG][2021-10-14 21:08:47] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 6,
line = 0
},
start = {
character = 6,
line = 0
}
},
rangeLength = 0,
text = '"\r"'
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 10
}
}
}
[DEBUG][2021-10-14 21:08:47] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 11, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 12, old_utf32_size: 12, old_utf16_size: 12" { 'f = { "" }' }
[DEBUG][2021-10-14 21:08:47] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 8,
line = 0
},
start = {
character = 7,
line = 0
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 11
}
}
}
[DEBUG][2021-10-14 21:08:47] .../vim/lsp/rpc.lua:435 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 11
}
}
[DEBUG][2021-10-14 21:08:48] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 12, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 11, old_utf32_size: 11, old_utf16_size: 11" { 'f = { "f" }' }
[DEBUG][2021-10-14 21:08:48] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 7,
line = 0
},
start = {
character = 7,
line = 0
}
},
rangeLength = 0,
text = "f"
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 12
}
}
}
[DEBUG][2021-10-14 21:08:48] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 13, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 12, old_utf32_size: 12, old_utf16_size: 12" { 'f = { "fo" }' }
[DEBUG][2021-10-14 21:08:48] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 8,
line = 0
},
start = {
character = 8,
line = 0
}
},
rangeLength = 0,
text = "o"
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 13
}
}
}
[DEBUG][2021-10-14 21:08:48] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 14, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 13, old_utf32_size: 13, old_utf16_size: 13" { 'f = { "foo" }' }
[DEBUG][2021-10-14 21:08:48] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 9,
line = 0
},
start = {
character = 9,
line = 0
}
},
rangeLength = 0,
text = "o"
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 14
}
}
}
[DEBUG][2021-10-14 21:08:48] .../vim/lsp/rpc.lua:435 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 14
}
}
[DEBUG][2021-10-14 21:08:51] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 15, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 14, old_utf32_size: 14, old_utf16_size: 14" { "f = {}" }
[DEBUG][2021-10-14 21:08:51] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 12,
line = 0
},
start = {
character = 5,
line = 0
}
},
rangeLength = 7,
text = ""
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 15
}
}
}
[DEBUG][2021-10-14 21:08:51] .../lua/vim/lsp.lua:1051 "on_lines bufnr: 1, changedtick: 16, firstline: 0, lastline: 1, new_lastline: 1, old_byte_size: 7, old_utf32_size: 7, old_utf16_size: 7" { "f = " }
[DEBUG][2021-10-14 21:08:51] .../vim/lsp/rpc.lua:337 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 6,
line = 0
},
start = {
character = 4,
line = 0
}
},
rangeLength = 2,
text = ""
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 16
}
}
}
} },
textDocument = {
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 17
}
}
}
[DEBUG][2021-10-14 21:08:51] .../vim/lsp/rpc.lua:435 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
message = "Statements must be separated by newlines or semicolons",
range = {
end = {
character = 14,
line = 0
},
start = {
character = 11,
line = 0
}
},
severity = 1,
source = "Pyright"
}, {
message = "String literal is unterminated",
range = {
end = {
character = 14,
line = 0
},
start = {
character = 11,
line = 0
}
},
severity = 1,
source = "Pyright"
} },
uri = "file:///home/michael/Repositories/neovim_development/try.nvim/slim-repro/test.py",
version = 17
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment