Files
neovim/runtime
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-01 10:04:32 +01:00
2023-11-05 21:56:56 +01:00
2023-08-23 20:36:16 +01:00
2024-02-06 11:42:15 +01:00
2022-08-20 10:04:55 +02:00
2024-01-17 14:01:39 +08:00
2024-02-01 12:06:55 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-24 11:33:06 +09:00
2023-08-13 13:25:10 +01:00
2023-08-31 10:58:54 +02:00