mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
nvim__screenshot
This commit is contained in:
@@ -36,6 +36,8 @@ void set_title(String title)
|
||||
FUNC_API_SINCE(3);
|
||||
void set_icon(String icon)
|
||||
FUNC_API_SINCE(3);
|
||||
void screenshot(String path)
|
||||
FUNC_API_SINCE(7) FUNC_API_REMOTE_IMPL;
|
||||
void option_set(String name, Object value)
|
||||
FUNC_API_SINCE(4) FUNC_API_BRIDGE_IMPL;
|
||||
// Stop event is not exported as such, represented by EOF in the msgpack stream.
|
||||
|
@@ -2627,3 +2627,9 @@ void nvim__put_attr(Integer id, Integer start_row, Integer start_col,
|
||||
decorations_add_luahl_attr(attr, (int)start_row, (colnr_T)start_col,
|
||||
(int)end_row, (colnr_T)end_col);
|
||||
}
|
||||
|
||||
void nvim__screenshot(String path)
|
||||
FUNC_API_FAST
|
||||
{
|
||||
ui_call_screenshot(path);
|
||||
}
|
||||
|
Reference in New Issue
Block a user