1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | void api_vim_init(void) FUNC_API_NOEXPORT; |
7 | void api_vim_free_all_mem(void) FUNC_API_NOEXPORT; |
8 | void nvim_command(String command, Error *err) FUNC_API_SINCE(1); |
9 | Dictionary nvim_get_hl_by_name(String name, Boolean rgb, Error *err) FUNC_API_SINCE(3); |
10 | Dictionary nvim_get_hl_by_id(Integer hl_id, Boolean rgb, Error *err) FUNC_API_SINCE(3); |
11 | void nvim_feedkeys(String keys, String mode, Boolean escape_csi) FUNC_API_SINCE(1); |
12 | Integer nvim_input(String keys) FUNC_API_SINCE(1) FUNC_API_FAST; |
13 | void nvim_input_mouse(String button, String action, String modifier, Integer grid, Integer row, Integer col, Error *err) FUNC_API_SINCE(6) FUNC_API_FAST; |
14 | String nvim_replace_termcodes(String str, Boolean from_part, Boolean do_lt, Boolean special) FUNC_API_SINCE(1); |
15 | String nvim_command_output(String command, Error *err) FUNC_API_SINCE(1); |
16 | Object nvim_eval(String expr, Error *err) FUNC_API_SINCE(1); |
17 | Object nvim_execute_lua(String code, Array args, Error *err) FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY; |
18 | Object nvim_call_function(String fn, Array args, Error *err) FUNC_API_SINCE(1); |
19 | Object nvim_call_dict_function(Object dict, String fn, Array args, Error *err) FUNC_API_SINCE(4); |
20 | Integer nvim_strwidth(String text, Error *err) FUNC_API_SINCE(1); |
21 | ArrayOf(String) nvim_list_runtime_paths(void) FUNC_API_SINCE(1); |
22 | void nvim_set_current_dir(String dir, Error *err) FUNC_API_SINCE(1); |
23 | String nvim_get_current_line(Error *err) FUNC_API_SINCE(1); |
24 | void nvim_set_current_line(String line, Error *err) FUNC_API_SINCE(1); |
25 | void nvim_del_current_line(Error *err) FUNC_API_SINCE(1); |
26 | Object nvim_get_var(String name, Error *err) FUNC_API_SINCE(1); |
27 | void nvim_set_var(String name, Object value, Error *err) FUNC_API_SINCE(1); |
28 | void nvim_del_var(String name, Error *err) FUNC_API_SINCE(1); |
29 | Object vim_set_var(String name, Object value, Error *err); |
30 | Object vim_del_var(String name, Error *err); |
31 | Object nvim_get_vvar(String name, Error *err) FUNC_API_SINCE(1); |
32 | void nvim_set_vvar(String name, Object value, Error *err) FUNC_API_SINCE(6); |
33 | Object nvim_get_option(String name, Error *err) FUNC_API_SINCE(1); |
34 | void nvim_set_option(uint64_t channel_id, String name, Object value, Error *err) FUNC_API_SINCE(1); |
35 | void nvim_out_write(String str) FUNC_API_SINCE(1); |
36 | void nvim_err_write(String str) FUNC_API_SINCE(1); |
37 | void nvim_err_writeln(String str) FUNC_API_SINCE(1); |
38 | ArrayOf(Buffer) nvim_list_bufs(void) FUNC_API_SINCE(1); |
39 | Buffer nvim_get_current_buf(void) FUNC_API_SINCE(1); |
40 | void nvim_set_current_buf(Buffer buffer, Error *err) FUNC_API_SINCE(1); |
41 | ArrayOf(Window) nvim_list_wins(void) FUNC_API_SINCE(1); |
42 | Window nvim_get_current_win(void) FUNC_API_SINCE(1); |
43 | void nvim_set_current_win(Window window, Error *err) FUNC_API_SINCE(1); |
44 | Buffer nvim_create_buf(Boolean listed, Boolean scratch, Error *err) FUNC_API_SINCE(6); |
45 | Window nvim_open_win(Buffer buffer, Boolean enter, Dictionary config, Error *err) FUNC_API_SINCE(6); |
46 | ArrayOf(Tabpage) nvim_list_tabpages(void) FUNC_API_SINCE(1); |
47 | Tabpage nvim_get_current_tabpage(void) FUNC_API_SINCE(1); |
48 | void nvim_set_current_tabpage(Tabpage tabpage, Error *err) FUNC_API_SINCE(1); |
49 | Integer nvim_create_namespace(String name) FUNC_API_SINCE(5); |
50 | Dictionary nvim_get_namespaces(void) FUNC_API_SINCE(5); |
51 | Boolean nvim_paste(String data, Boolean crlf, Integer phase, Error *err) FUNC_API_SINCE(6); |
52 | void nvim_put(ArrayOf(String) lines, String type, Boolean after, Boolean follow, Error *err) FUNC_API_SINCE(6); |
53 | void nvim_subscribe(uint64_t channel_id, String event) FUNC_API_SINCE(1) FUNC_API_REMOTE_ONLY; |
54 | void nvim_unsubscribe(uint64_t channel_id, String event) FUNC_API_SINCE(1) FUNC_API_REMOTE_ONLY; |
55 | Integer nvim_get_color_by_name(String name) FUNC_API_SINCE(1); |
56 | Dictionary nvim_get_color_map(void) FUNC_API_SINCE(1); |
57 | Dictionary nvim_get_context(Array types) FUNC_API_SINCE(6); |
58 | Object nvim_load_context(Dictionary dict) FUNC_API_SINCE(6); |
59 | Dictionary nvim_get_mode(void) FUNC_API_SINCE(2) FUNC_API_FAST; |
60 | ArrayOf(Dictionary) nvim_get_keymap(String mode) FUNC_API_SINCE(3); |
61 | void nvim_set_keymap(String mode, String lhs, String rhs, Dictionary opts, Error *err) FUNC_API_SINCE(6); |
62 | void nvim_del_keymap(String mode, String lhs, Error *err) FUNC_API_SINCE(6); |
63 | Dictionary nvim_get_commands(Dictionary opts, Error *err) FUNC_API_SINCE(4); |
64 | Array nvim_get_api_info(uint64_t channel_id) FUNC_API_SINCE(1) FUNC_API_FAST FUNC_API_REMOTE_ONLY; |
65 | void nvim_set_client_info(uint64_t channel_id, String name, Dictionary version, String type, Dictionary methods, Dictionary attributes, Error *err) FUNC_API_SINCE(4) FUNC_API_REMOTE_ONLY; |
66 | Dictionary nvim_get_chan_info(Integer chan, Error *err) FUNC_API_SINCE(4); |
67 | Array nvim_list_chans(void) FUNC_API_SINCE(4); |
68 | Array nvim_call_atomic(uint64_t channel_id, Array calls, Error *err) FUNC_API_SINCE(1) FUNC_API_REMOTE_ONLY; |
69 | Dictionary nvim_parse_expression(String expr, String flags, Boolean highlight, Error *err) FUNC_API_SINCE(4) FUNC_API_FAST; |
70 | Object nvim__id(Object obj); |
71 | Array nvim__id_array(Array arr); |
72 | Dictionary nvim__id_dictionary(Dictionary dct); |
73 | Float nvim__id_float(Float flt); |
74 | Dictionary nvim__stats(void); |
75 | Array nvim_list_uis(void) FUNC_API_SINCE(4); |
76 | Array nvim_get_proc_children(Integer pid, Error *err) FUNC_API_SINCE(4); |
77 | Object nvim_get_proc(Integer pid, Error *err) FUNC_API_SINCE(4); |
78 | void (Integer item, Boolean insert, Boolean finish, Dictionary opts, Error *err) FUNC_API_SINCE(6); |
79 | Array nvim__inspect_cell(Integer grid, Integer row, Integer col, Error *err); |
80 | #include "nvim/func_attr.h" |
81 | |