mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00
fix: type fixes
Type fixes caught by emmylua
This commit is contained in:

committed by
Lewis Russell

parent
4c333fdbb7
commit
3b6084ddf4
@@ -32,6 +32,7 @@ local LUA_API_RETURN_OVERRIDES = {
|
||||
nvim_get_command = 'table<string,vim.api.keyset.command_info>',
|
||||
nvim_get_keymap = 'vim.api.keyset.get_keymap[]',
|
||||
nvim_get_mark = 'vim.api.keyset.get_mark',
|
||||
nvim_eval_statusline = 'vim.api.keyset.eval_statusline_ret',
|
||||
|
||||
-- Can also return table<string,vim.api.keyset.get_hl_info>, however we need to
|
||||
-- pick one to get some benefit.
|
||||
@@ -45,6 +46,7 @@ local LUA_API_RETURN_OVERRIDES = {
|
||||
nvim_get_option_info2 = 'vim.api.keyset.get_option_info',
|
||||
nvim_parse_cmd = 'vim.api.keyset.parse_cmd',
|
||||
nvim_win_get_config = 'vim.api.keyset.win_config',
|
||||
nvim_win_text_height = 'vim.api.keyset.win_text_height_ret',
|
||||
}
|
||||
|
||||
local LUA_API_KEYSET_OVERRIDES = {
|
||||
|
Reference in New Issue
Block a user