efm-langserver icon indicating copy to clipboard operation
efm-langserver copied to clipboard

window progress LSP errors

Open ivanterrible opened this issue 3 years ago • 0 comments

In any buffer EFM attaches to the following error continues to happen every second, no action is needed.

~/.cache/nvim/lsp.log

[ ERROR ] 2021-08-26T10:08:27-0700 ] /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:462 ]  "rpc"   "efm-langserver"        "stderr"        '2021/08/26 10:08:27 jsonrpc2 handler: notification "window/progress" handling error: jsonrpc2: code -32601 message: method not supported: window/progress\n'
[ ERROR ] 2021-08-26T10:08:27-0700 ] /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:462 ]  "rpc"   "efm-langserver"        "stderr"        '2021/08/26 10:08:27 jsonrpc2 handler: notification "window/progress" handling error: jsonrpc2: code -32601 message: method not supported: window/progress\n'
[ ERROR ] 2021-08-26T10:08:27-0700 ] /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:462 ]  "rpc"   "efm-langserver"        "stderr"        '2021/08/26 10:08:27 jsonrpc2 handler: notification "window/progress" handling error: jsonrpc2: code -32601 message: method not supported: window/progress\n'

This result was using simplified setup, but get errors no matter what Using:

NVIM v0.5.0
efm-langserver 0.0.36 (rev: HEAD/go1.16.7)

LSP config

require("lspconfig").efm.setup({
    cmd = { "efm-langserver" },
})

~/.config/efm-langserver/config.yaml

---
version: 2

root-markers:
  - .git/

tools:
  xml-prettier: &xml-prettier
    format-command: 'prettier --xml-whitespace-sensitivity ignore ${INPUT}'
    format-stdin: true

languages:
  xml:
    - <<: *xml-prettier

ivanterrible avatar Aug 26 '21 17:08 ivanterrible