Jaehwang Jung
285c04e2d0
fix(api,lsp): call on_detach before wiping out the buffer #35355
...
Problem:
Buffer-updates on_detach callback is invoked before buf_freeall(), which
deletes autocmds of the buffer (via apply_autocmds(EVENT_BUFWIPEOUT,
...)). Due to this, buffer-local autocmds executed in on_detach (e.g.,
LspDetach) are not actually invoked.
Solution:
Call buf_updates_unload() before buf_freeall().
2025-08-17 11:37:24 -07:00
..
2025-05-04 11:22:57 -04:00
2024-04-23 18:17:04 +02:00
2025-08-17 11:37:24 -07:00
2025-03-26 07:35:12 +08:00
2025-05-04 11:22:57 -04:00
2025-05-29 12:10:07 +02:00
2024-09-28 00:31:45 +02:00
2025-07-29 18:53:57 -07:00
2024-09-21 16:04:09 +01:00
2025-03-19 05:41:25 -07:00
2025-06-09 09:31:37 -07:00
2025-01-09 09:26:45 -08:00
2025-06-03 06:36:44 -07:00
2025-04-05 15:56:40 -07:00
2025-03-18 09:39:19 +01:00
2025-07-22 17:40:24 -07:00
2025-07-10 19:07:56 -07:00
2025-08-03 07:45:49 -07:00
2024-11-26 06:15:50 -08:00
2025-05-06 18:00:20 -07:00
2024-09-21 16:04:09 +01:00
2025-07-13 13:43:11 -07:00
2025-07-03 11:05:08 +01:00
2025-05-04 11:22:57 -04:00
2025-07-28 22:00:25 -04:00
2025-08-13 14:51:43 -04:00
2024-04-23 18:17:04 +02:00
2025-07-10 21:50:46 -04:00
2025-02-26 23:06:22 +01:00
2025-07-12 20:54:22 -07:00
2025-07-09 09:33:19 +00:00
2024-10-18 02:22:15 -07:00
2024-12-11 05:48:17 -08:00
2025-05-04 11:22:57 -04:00
2025-06-30 20:59:44 +03:00
2025-08-03 07:45:49 -07:00
2024-12-31 15:54:06 +01:00
2025-04-21 15:05:34 -07:00
2025-07-12 22:36:07 +00:00