mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
api: Establish API naming convention. (#5344)
old name: new name: -------------------------------------------------- nvim_name_to_color nvim_get_color_by_name nvim_get_current_buffer nvim_get_current_buf nvim_get_current_window nvim_get_current_win nvim_get_buffers nvim_list_bufs nvim_get_tabpages nvim_list_tabpages nvim_get_windows nvim_list_wins nvim_set_current_buffer nvim_set_current_buf nvim_set_current_window nvim_set_current_win nvim_change_directory nvim_set_current_dir nvim_tabpage_get_window nvim_tabpage_get_win nvim_tabpage_get_windows nvim_tabpage_list_wins nvim_win_get_buffer nvim_win_get_buf nvim_report_error nvim_err_writeln Helped-by: Björn Linse <bjorn.linse@gmail.com> Helped-by: ZyX <kp-pav@yandex.ru> Helped-by: James McCoy <jamessan@jamessan.com>
This commit is contained in:
@@ -364,7 +364,7 @@ end
|
||||
|
||||
local function curbuf(method, ...)
|
||||
if not method then
|
||||
return nvim('get_current_buffer')
|
||||
return nvim('get_current_buf')
|
||||
end
|
||||
return buffer(method, 0, ...)
|
||||
end
|
||||
@@ -387,7 +387,7 @@ end
|
||||
|
||||
local function curwin(method, ...)
|
||||
if not method then
|
||||
return nvim('get_current_window')
|
||||
return nvim('get_current_win')
|
||||
end
|
||||
return window(method, 0, ...)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user