Skip to content

Instantly share code, notes, and snippets.

@aktau
Created July 8, 2020 12:43
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/1c1ef881c0afb41d9808a821263ea1d7 to your computer and use it in GitHub Desktop.
Save aktau/1c1ef881c0afb41d9808a821263ea1d7 to your computer and use it in GitHub Desktop.
nvim-lsp log
[ DEBUG ] 2020-07-08T14:28:40+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:587 ] "on_lines" 1 25 5 6 6 11 11 11 { " echo $I" }
[ DEBUG ] 2020-07-08T14:28:40+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:280 ] "rpc.notify" "textDocument/didChange" { contentChanges = { { text = "#!/bin/sh\n\necho `ls -la`\n\nfor i in $(seq 1 5) ; do\n echo $I\n :\ndone\n" } }, textDocument = { uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 25 }}
[ DEBUG ] 2020-07-08T14:28:40+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`\n\nfor i in $(seq 1 5) ; do\n echo $I\n :\ndone\n" } }, textDocument = { uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 25 } }}
[ DEBUG ] 2020-07-08T14:28:40+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:504 ] "LSP[efm]" "client.request" 1 "textDocument/completion" { position = { character = 11, line = 5 }, textDocument = { uri = "file:///home/nicolashillegeer/tmp/glop.sh" }} <function 1> 1
[ DEBUG ] 2020-07-08T14:28:40+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:269 ] "rpc.send.payload" { id = 11, jsonrpc = "2.0", method = "textDocument/completion", params = { position = { character = 11, line = 5 }, textDocument = { uri = "file:///home/nicolashillegeer/tmp/glop.sh" } }}
[ ERROR ] 2020-07-08T14:28:40+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:319 ] "rpc" "efm-langserver" "stderr" "2020/07/08 14:28:40 completion for LanguageID not supported: sh\n"
[ DEBUG ] 2020-07-08T14:28:40+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:349 ] "decoded" { id = 11, jsonrpc = "2.0", result = vim.NIL}
[ ERROR ] 2020-07-08T14:28:40+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:319 ] "rpc" "efm-langserver" "stderr" "panic: runtime error: slice bounds out of range [:-1]\n\ngoroutine 18 [running]:\ngithub.com/mattn/efm-langserver/langserver.(*File).WordAt(0xc0000876e0, 0x5, 0x9"
[ ERROR ] 2020-07-08T14:28:40+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:319 ] "rpc" "efm-langserver" "stderr" ", 0x1, 0x0)\n\t/home/nicolashillegeer/go/src/github.com/mattn/efm-langserver/langserver/handler.go:134 +0x2d1\ngithub.com/mattn/efm-langserver/langserver.(*langHandler).lint(0xc0000e4120, 0xc0002543f0, 0x29, 0x5b6696, 0x1f, 0x56dc20, 0xc000264600, 0x0)\n\t/home/nicolashillegeer/go/src/github.com/mattn/efm-langserver/langserver/handler.go:340 +0xc23\ngithub.com/mattn/efm-langserver/langserver.(*langHandler).linter(0xc0000e4120)\n\t/home/nicolashillegeer/go/src/github.com/mattn/efm-langserver/langserver/handler.go:191 +0x9c\ncreated by github.com/mattn/efm-langserver/langserver.NewHandler\n\t/home/nicolashillegeer/go/src/github.com/mattn/efm-langserver/langserver/handler.go:82 +0x13f\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment