neovim/runtime/lua
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
..
nvim fix(health): check more "old" files 2024-01-28 23:56:03 +01:00
provider refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00
vim feat(api): pass 0 to nvim_get_chan_info for current channel (#27321) 2024-02-08 18:59:31 +08:00
_vim9script.lua feat(lua): rename vim.loop -> vim.uv (#22846) 2023-06-03 12:06:00 +02:00
coxpcall.lua build(lua): vendor coxpcall 2023-09-10 11:43:37 +02:00
editorconfig.lua fix(editorconfig): do not set 'endofline' 2023-08-27 19:27:25 +01:00
man.lua docs: small fixes 2024-01-02 22:00:06 +01:00