Jaehwang Jung
39cc38a87b
fix(lsp): defer writing error msgs ( #27688 )
...
Context:
Nvim catches errors from the user's `on_exit` and rpc handler callbacks
and prints the error message.
Problem:
Printing the error message uses Nvim api functions. But callbacks
mentioned above run in `:h lua-loop-callbacks` where most of `vim.api`
is not allowed, so Nvim itself raises error.
Solution:
`vim.schedule()` the error reporting when necessary.
2024-03-02 10:51:10 +01:00
..
2024-03-01 23:02:18 +00:00
2024-02-21 06:29:53 +08:00
2023-09-20 13:42:41 +01:00
2024-03-02 10:51:10 +01:00
2024-01-24 19:26:53 +01:00
2024-03-01 23:02:18 +00:00
2023-12-21 11:47:04 +08:00
2024-02-29 08:21:13 +08:00
2024-03-01 23:02:18 +00:00
2024-02-15 11:32:50 +00:00
2024-03-01 23:02:18 +00:00
2024-02-13 14:49:20 +00:00
2024-03-01 23:02:18 +00:00
2024-02-02 21:52:01 +08:00
2024-03-01 23:00:20 +00:00
2024-03-01 23:02:18 +00:00
2024-01-16 09:33:10 +00:00
2024-03-01 23:02:18 +00:00
2024-03-01 23:02:18 +00:00
2023-09-20 13:42:41 +01:00
2024-01-19 11:54:04 +00:00
2024-01-11 16:24:12 +00:00
2024-02-27 14:41:17 +00:00
2022-08-23 13:02:55 +02:00
2024-03-01 23:02:18 +00:00
2024-02-27 14:41:17 +00:00
2024-03-01 23:02:18 +00:00
2024-03-01 23:02:18 +00:00
2024-02-03 16:53:41 +01:00
2024-01-14 11:08:33 +00:00
2024-03-01 23:02:18 +00:00
2024-03-01 23:02:18 +00:00
2024-03-01 23:02:18 +00:00
2023-12-14 11:38:34 -06:00
2024-01-02 11:16:48 -05:00
2024-03-01 23:02:18 +00:00
2024-02-25 22:08:11 +00:00
2024-02-28 10:50:53 +01:00
2024-03-01 23:02:18 +00:00
2023-12-20 18:58:40 +01:00