nikolightsaber
b162adbb7c
feat(api): pass 0 to nvim_get_chan_info for current channel ( #27321 )
...
Getting current channel info was kind of annoying via RPC. Two
functions had to be called:
1. `nvim_get_api_info` which returns `[channel_id, meta_data]`.
- This results in `channel_id = api.nvim_get_api_info()[0]`.
- Here the meta_data is sent but never used.
2. Finally call `nvim_get_chan_info(channel_id)`.
This commit reduces the need for `nvim_get_api_info` as passing 0
returns current channel info.
2024-02-08 18:59:31 +08:00
..
2024-02-08 18:59:31 +08:00
2024-01-24 06:07:42 +08:00
2023-12-28 22:41:01 +01:00
2024-01-28 12:29:42 +00:00
2023-12-20 07:02:48 +08:00
2023-10-29 16:02:32 +08:00
2023-12-09 15:35:45 +08:00
2024-01-16 20:14:17 +00:00
2024-01-17 14:01:39 +08:00
2023-12-16 14:43:03 +01:00
2023-12-13 20:31:16 +01:00
2023-12-13 20:31:16 +01:00
2024-01-02 22:00:06 +01:00
2024-02-06 15:29:01 +00:00
2023-10-20 13:03:36 +02:00
2024-01-15 11:40:44 +01:00
2023-12-06 08:04:21 +08:00
2024-02-08 08:09:01 +08:00
2023-12-13 20:31:16 +01:00
2024-01-28 17:53:14 -08:00
2023-10-29 16:02:32 +08:00
2023-12-13 18:31:05 +01:00
2023-12-30 10:53:31 +01:00
2024-01-24 11:05:25 +01:00
2024-01-13 08:29:47 +08:00
2023-12-13 17:31:39 +01:00
2024-01-18 00:14:48 -08:00
2023-12-06 08:04:21 +08:00
2024-01-28 17:53:14 -08:00
2024-01-02 22:00:06 +01:00
2024-01-06 12:02:27 +01:00
2024-01-26 11:04:54 +08:00
2023-11-17 12:58:57 +01:00
2023-12-22 10:33:34 +08:00
2024-01-18 00:14:48 -08:00
2023-10-16 08:13:37 -07:00
2024-02-08 18:59:31 +08:00
2023-12-19 13:29:13 +08:00
2024-01-24 18:13:39 +08:00
2023-10-21 18:04:08 +08:00
2023-11-14 23:29:09 +01:00
2024-01-09 23:22:48 +01:00
2023-11-06 19:03:08 +08:00
2023-11-16 13:56:05 -06:00
2023-10-26 07:42:29 +08:00
2023-12-06 08:04:21 +08:00
2024-01-18 00:14:48 -08:00
2023-10-10 19:20:32 +02:00
2024-01-27 10:40:30 -08:00
2023-11-27 17:43:13 +08:00
2023-11-24 07:19:06 +08:00
2024-02-06 11:42:15 +01:00
2024-01-28 17:53:14 -08:00
2024-01-24 16:36:25 -06:00
2023-10-21 18:46:52 +08:00
2024-01-16 11:30:35 +08:00
2024-01-15 10:12:07 -06:00
2023-12-27 07:26:18 +08:00
2024-01-09 08:27:56 -06:00
2023-12-25 10:21:13 +08:00