Files
neovim/runtime
Mathias Fussenegger 5d4717010c lsp: Only mute RequestCancelled or ContentModified, but not other errors
handlers passed to `lsp_buf_request` weren't called if the server
responded with an error that looks like this:

     "decoded", {
      error = {
        code = -32601,
        message = "No delegateCommandHandler for foo"
      },
      id = 5,
      jsonrpc = "2.0"
    }

An example where that happens is both eclipse.jdt.ls and the
haskell-language-server when invoking a command that doesn't exist:

    :lua vim.lsp.buf_request(
      0,
      'workspace/executeCommand',
      { command = 'foo' },
      function(err, _, res)
        print(vim.inspect(err), vim.inspect(res))
      end
    )
2021-05-23 17:04:19 +02:00
..
2021-05-01 14:22:52 -04:00
2021-05-02 12:44:04 -04:00
2021-05-02 13:00:38 -04:00
2021-05-02 13:00:38 -04:00
2021-05-01 22:29:03 -04:00
2021-05-01 22:29:03 -04:00
2021-05-01 23:19:57 -04:00
2021-05-02 12:44:04 -04:00
2014-12-19 15:28:49 -05:00
2021-03-09 19:21:26 +01:00
2018-01-15 23:58:52 +01:00
2021-05-02 13:00:38 -04:00
2021-04-29 21:08:09 -04:00
2019-07-29 20:50:07 +02:00
2019-01-04 02:17:23 +01:00
2021-04-27 09:21:32 -04:00
2021-04-28 21:57:50 -04:00
2019-07-29 20:50:07 +02:00
2021-05-01 22:29:03 -04:00
2021-05-01 22:29:02 -04:00
2014-07-29 02:12:31 +00:00
2021-05-01 22:29:02 -04:00