1 // Auto generated 2019-06-08 16:53:42.519531 from nvim API level:5 2 #ifndef NEOVIM_QT_NEOVIMAPI5 3 #define NEOVIM_QT_NEOVIMAPI5 4 #include "msgpack.h" 5 #include <QObject> 6 #include <QVariant> 7 #include <QPoint> 8 #include "function.h" 9 10 namespace NeovimQt { 11 class NeovimConnector; 12 class MsgpackRequest; 13 14 class NeovimApi5: public QObject 15 { 16 Q_OBJECT 17 Q_ENUMS(FunctionId) 18 19 public: 20 21 enum FunctionId { 22 NEOVIM_FN_NULL=0, 23 NEOVIM_FN_NVIM_BUF_LINE_COUNT, 24 NEOVIM_FN_BUFFER_GET_LINE, 25 NEOVIM_FN_NVIM_BUF_ATTACH, 26 NEOVIM_FN_NVIM_BUF_DETACH, 27 NEOVIM_FN_BUFFER_SET_LINE, 28 NEOVIM_FN_BUFFER_DEL_LINE, 29 NEOVIM_FN_BUFFER_GET_LINE_SLICE, 30 NEOVIM_FN_NVIM_BUF_GET_LINES, 31 NEOVIM_FN_BUFFER_SET_LINE_SLICE, 32 NEOVIM_FN_NVIM_BUF_SET_LINES, 33 NEOVIM_FN_NVIM_BUF_GET_OFFSET, 34 NEOVIM_FN_NVIM_BUF_GET_VAR, 35 NEOVIM_FN_NVIM_BUF_GET_CHANGEDTICK, 36 NEOVIM_FN_NVIM_BUF_GET_KEYMAP, 37 NEOVIM_FN_NVIM_BUF_GET_COMMANDS, 38 NEOVIM_FN_NVIM_BUF_SET_VAR, 39 NEOVIM_FN_NVIM_BUF_DEL_VAR, 40 NEOVIM_FN_BUFFER_SET_VAR, 41 NEOVIM_FN_BUFFER_DEL_VAR, 42 NEOVIM_FN_NVIM_BUF_GET_OPTION, 43 NEOVIM_FN_NVIM_BUF_SET_OPTION, 44 NEOVIM_FN_NVIM_BUF_GET_NUMBER, 45 NEOVIM_FN_NVIM_BUF_GET_NAME, 46 NEOVIM_FN_NVIM_BUF_SET_NAME, 47 NEOVIM_FN_NVIM_BUF_IS_LOADED, 48 NEOVIM_FN_NVIM_BUF_IS_VALID, 49 NEOVIM_FN_BUFFER_INSERT, 50 NEOVIM_FN_NVIM_BUF_GET_MARK, 51 NEOVIM_FN_NVIM_BUF_ADD_HIGHLIGHT, 52 NEOVIM_FN_NVIM_BUF_CLEAR_NAMESPACE, 53 NEOVIM_FN_NVIM_BUF_CLEAR_HIGHLIGHT, 54 NEOVIM_FN_NVIM_BUF_SET_VIRTUAL_TEXT, 55 NEOVIM_FN_NVIM_TABPAGE_LIST_WINS, 56 NEOVIM_FN_NVIM_TABPAGE_GET_VAR, 57 NEOVIM_FN_NVIM_TABPAGE_SET_VAR, 58 NEOVIM_FN_NVIM_TABPAGE_DEL_VAR, 59 NEOVIM_FN_TABPAGE_SET_VAR, 60 NEOVIM_FN_TABPAGE_DEL_VAR, 61 NEOVIM_FN_NVIM_TABPAGE_GET_WIN, 62 NEOVIM_FN_NVIM_TABPAGE_GET_NUMBER, 63 NEOVIM_FN_NVIM_TABPAGE_IS_VALID, 64 NEOVIM_FN_NVIM_UI_ATTACH, 65 NEOVIM_FN_UI_ATTACH, 66 NEOVIM_FN_NVIM_UI_DETACH, 67 NEOVIM_FN_NVIM_UI_TRY_RESIZE, 68 NEOVIM_FN_NVIM_UI_SET_OPTION, 69 NEOVIM_FN_NVIM_COMMAND, 70 NEOVIM_FN_NVIM_GET_HL_BY_NAME, 71 NEOVIM_FN_NVIM_GET_HL_BY_ID, 72 NEOVIM_FN_NVIM_FEEDKEYS, 73 NEOVIM_FN_NVIM_INPUT, 74 NEOVIM_FN_NVIM_REPLACE_TERMCODES, 75 NEOVIM_FN_NVIM_COMMAND_OUTPUT, 76 NEOVIM_FN_NVIM_EVAL, 77 NEOVIM_FN_NVIM_EXECUTE_LUA, 78 NEOVIM_FN_NVIM_CALL_FUNCTION, 79 NEOVIM_FN_NVIM_CALL_DICT_FUNCTION, 80 NEOVIM_FN_NVIM_STRWIDTH, 81 NEOVIM_FN_NVIM_LIST_RUNTIME_PATHS, 82 NEOVIM_FN_NVIM_SET_CURRENT_DIR, 83 NEOVIM_FN_NVIM_GET_CURRENT_LINE, 84 NEOVIM_FN_NVIM_SET_CURRENT_LINE, 85 NEOVIM_FN_NVIM_DEL_CURRENT_LINE, 86 NEOVIM_FN_NVIM_GET_VAR, 87 NEOVIM_FN_NVIM_SET_VAR, 88 NEOVIM_FN_NVIM_DEL_VAR, 89 NEOVIM_FN_VIM_SET_VAR, 90 NEOVIM_FN_VIM_DEL_VAR, 91 NEOVIM_FN_NVIM_GET_VVAR, 92 NEOVIM_FN_NVIM_GET_OPTION, 93 NEOVIM_FN_NVIM_SET_OPTION, 94 NEOVIM_FN_NVIM_OUT_WRITE, 95 NEOVIM_FN_NVIM_ERR_WRITE, 96 NEOVIM_FN_NVIM_ERR_WRITELN, 97 NEOVIM_FN_NVIM_LIST_BUFS, 98 NEOVIM_FN_NVIM_GET_CURRENT_BUF, 99 NEOVIM_FN_NVIM_SET_CURRENT_BUF, 100 NEOVIM_FN_NVIM_LIST_WINS, 101 NEOVIM_FN_NVIM_GET_CURRENT_WIN, 102 NEOVIM_FN_NVIM_SET_CURRENT_WIN, 103 NEOVIM_FN_NVIM_LIST_TABPAGES, 104 NEOVIM_FN_NVIM_GET_CURRENT_TABPAGE, 105 NEOVIM_FN_NVIM_SET_CURRENT_TABPAGE, 106 NEOVIM_FN_NVIM_CREATE_NAMESPACE, 107 NEOVIM_FN_NVIM_GET_NAMESPACES, 108 NEOVIM_FN_NVIM_SUBSCRIBE, 109 NEOVIM_FN_NVIM_UNSUBSCRIBE, 110 NEOVIM_FN_NVIM_GET_COLOR_BY_NAME, 111 NEOVIM_FN_NVIM_GET_COLOR_MAP, 112 NEOVIM_FN_NVIM_GET_MODE, 113 NEOVIM_FN_NVIM_GET_KEYMAP, 114 NEOVIM_FN_NVIM_GET_COMMANDS, 115 NEOVIM_FN_NVIM_GET_API_INFO, 116 NEOVIM_FN_NVIM_SET_CLIENT_INFO, 117 NEOVIM_FN_NVIM_GET_CHAN_INFO, 118 NEOVIM_FN_NVIM_LIST_CHANS, 119 NEOVIM_FN_NVIM_CALL_ATOMIC, 120 NEOVIM_FN_NVIM_PARSE_EXPRESSION, 121 NEOVIM_FN_NVIM_LIST_UIS, 122 NEOVIM_FN_NVIM_GET_PROC_CHILDREN, 123 NEOVIM_FN_NVIM_GET_PROC, 124 NEOVIM_FN_NVIM_WIN_GET_BUF, 125 NEOVIM_FN_NVIM_WIN_SET_BUF, 126 NEOVIM_FN_NVIM_WIN_GET_CURSOR, 127 NEOVIM_FN_NVIM_WIN_SET_CURSOR, 128 NEOVIM_FN_NVIM_WIN_GET_HEIGHT, 129 NEOVIM_FN_NVIM_WIN_SET_HEIGHT, 130 NEOVIM_FN_NVIM_WIN_GET_WIDTH, 131 NEOVIM_FN_NVIM_WIN_SET_WIDTH, 132 NEOVIM_FN_NVIM_WIN_GET_VAR, 133 NEOVIM_FN_NVIM_WIN_SET_VAR, 134 NEOVIM_FN_NVIM_WIN_DEL_VAR, 135 NEOVIM_FN_WINDOW_SET_VAR, 136 NEOVIM_FN_WINDOW_DEL_VAR, 137 NEOVIM_FN_NVIM_WIN_GET_OPTION, 138 NEOVIM_FN_NVIM_WIN_SET_OPTION, 139 NEOVIM_FN_NVIM_WIN_GET_POSITION, 140 NEOVIM_FN_NVIM_WIN_GET_TABPAGE, 141 NEOVIM_FN_NVIM_WIN_GET_NUMBER, 142 NEOVIM_FN_NVIM_WIN_IS_VALID, 143 NEOVIM_FN_BUFFER_LINE_COUNT, 144 NEOVIM_FN_BUFFER_GET_LINES, 145 NEOVIM_FN_BUFFER_SET_LINES, 146 NEOVIM_FN_BUFFER_GET_VAR, 147 NEOVIM_FN_BUFFER_GET_OPTION, 148 NEOVIM_FN_BUFFER_SET_OPTION, 149 NEOVIM_FN_BUFFER_GET_NUMBER, 150 NEOVIM_FN_BUFFER_GET_NAME, 151 NEOVIM_FN_BUFFER_SET_NAME, 152 NEOVIM_FN_BUFFER_IS_VALID, 153 NEOVIM_FN_BUFFER_GET_MARK, 154 NEOVIM_FN_BUFFER_ADD_HIGHLIGHT, 155 NEOVIM_FN_BUFFER_CLEAR_HIGHLIGHT, 156 NEOVIM_FN_TABPAGE_GET_WINDOWS, 157 NEOVIM_FN_TABPAGE_GET_VAR, 158 NEOVIM_FN_TABPAGE_GET_WINDOW, 159 NEOVIM_FN_TABPAGE_IS_VALID, 160 NEOVIM_FN_UI_DETACH, 161 NEOVIM_FN_UI_TRY_RESIZE, 162 NEOVIM_FN_VIM_COMMAND, 163 NEOVIM_FN_VIM_FEEDKEYS, 164 NEOVIM_FN_VIM_INPUT, 165 NEOVIM_FN_VIM_REPLACE_TERMCODES, 166 NEOVIM_FN_VIM_COMMAND_OUTPUT, 167 NEOVIM_FN_VIM_EVAL, 168 NEOVIM_FN_VIM_CALL_FUNCTION, 169 NEOVIM_FN_VIM_STRWIDTH, 170 NEOVIM_FN_VIM_LIST_RUNTIME_PATHS, 171 NEOVIM_FN_VIM_CHANGE_DIRECTORY, 172 NEOVIM_FN_VIM_GET_CURRENT_LINE, 173 NEOVIM_FN_VIM_SET_CURRENT_LINE, 174 NEOVIM_FN_VIM_DEL_CURRENT_LINE, 175 NEOVIM_FN_VIM_GET_VAR, 176 NEOVIM_FN_VIM_GET_VVAR, 177 NEOVIM_FN_VIM_GET_OPTION, 178 NEOVIM_FN_VIM_SET_OPTION, 179 NEOVIM_FN_VIM_OUT_WRITE, 180 NEOVIM_FN_VIM_ERR_WRITE, 181 NEOVIM_FN_VIM_REPORT_ERROR, 182 NEOVIM_FN_VIM_GET_BUFFERS, 183 NEOVIM_FN_VIM_GET_CURRENT_BUFFER, 184 NEOVIM_FN_VIM_SET_CURRENT_BUFFER, 185 NEOVIM_FN_VIM_GET_WINDOWS, 186 NEOVIM_FN_VIM_GET_CURRENT_WINDOW, 187 NEOVIM_FN_VIM_SET_CURRENT_WINDOW, 188 NEOVIM_FN_VIM_GET_TABPAGES, 189 NEOVIM_FN_VIM_GET_CURRENT_TABPAGE, 190 NEOVIM_FN_VIM_SET_CURRENT_TABPAGE, 191 NEOVIM_FN_VIM_SUBSCRIBE, 192 NEOVIM_FN_VIM_UNSUBSCRIBE, 193 NEOVIM_FN_VIM_NAME_TO_COLOR, 194 NEOVIM_FN_VIM_GET_COLOR_MAP, 195 NEOVIM_FN_WINDOW_GET_BUFFER, 196 NEOVIM_FN_WINDOW_GET_CURSOR, 197 NEOVIM_FN_WINDOW_SET_CURSOR, 198 NEOVIM_FN_WINDOW_GET_HEIGHT, 199 NEOVIM_FN_WINDOW_SET_HEIGHT, 200 NEOVIM_FN_WINDOW_GET_WIDTH, 201 NEOVIM_FN_WINDOW_SET_WIDTH, 202 NEOVIM_FN_WINDOW_GET_VAR, 203 NEOVIM_FN_WINDOW_GET_OPTION, 204 NEOVIM_FN_WINDOW_SET_OPTION, 205 NEOVIM_FN_WINDOW_GET_POSITION, 206 NEOVIM_FN_WINDOW_GET_TABPAGE, 207 NEOVIM_FN_WINDOW_IS_VALID, 208 }; 209 210 static bool checkFunctions(const QVariantList& ftable); 211 static FunctionId functionId(const Function& f); 212 213 NeovimApi5(NeovimConnector *); 214 protected slots: 215 void handleResponse(quint32 id, quint64 fun, const QVariant&); 216 void handleResponseError(quint32 id, quint64 fun, const QVariant&); 217 signals: 218 void error(const QString& errmsg, const QVariant& errObj); 219 void neovimNotification(const QByteArray &name, const QVariantList& args); 220 private: 221 NeovimConnector *m_c; 222 public slots: 223 // Integer nvim_buf_line_count(Buffer buffer, ) 224 MsgpackRequest* nvim_buf_line_count(int64_t buffer); 225 // DEPRECATED 226 // String buffer_get_line(Buffer buffer, Integer index, ) 227 MsgpackRequest* buffer_get_line(int64_t buffer, int64_t index); 228 // Boolean nvim_buf_attach(Buffer buffer, Boolean send_buffer, Dictionary opts, ) 229 MsgpackRequest* nvim_buf_attach(int64_t buffer, bool send_buffer, QVariantMap opts); 230 // Boolean nvim_buf_detach(Buffer buffer, ) 231 MsgpackRequest* nvim_buf_detach(int64_t buffer); 232 // DEPRECATED 233 // void buffer_set_line(Buffer buffer, Integer index, String line, ) 234 MsgpackRequest* buffer_set_line(int64_t buffer, int64_t index, QByteArray line); 235 // DEPRECATED 236 // void buffer_del_line(Buffer buffer, Integer index, ) 237 MsgpackRequest* buffer_del_line(int64_t buffer, int64_t index); 238 // DEPRECATED 239 // ArrayOf(String) buffer_get_line_slice(Buffer buffer, Integer start, Integer end, Boolean include_start, Boolean include_end, ) 240 MsgpackRequest* buffer_get_line_slice(int64_t buffer, int64_t start, int64_t end, bool include_start, bool include_end); 241 // ArrayOf(String) nvim_buf_get_lines(Buffer buffer, Integer start, Integer end, Boolean strict_indexing, ) 242 MsgpackRequest* nvim_buf_get_lines(int64_t buffer, int64_t start, int64_t end, bool strict_indexing); 243 // DEPRECATED 244 // void buffer_set_line_slice(Buffer buffer, Integer start, Integer end, Boolean include_start, Boolean include_end, ArrayOf(String) replacement, ) 245 MsgpackRequest* buffer_set_line_slice(int64_t buffer, int64_t start, int64_t end, bool include_start, bool include_end, QList<QByteArray> replacement); 246 // void nvim_buf_set_lines(Buffer buffer, Integer start, Integer end, Boolean strict_indexing, ArrayOf(String) replacement, ) 247 MsgpackRequest* nvim_buf_set_lines(int64_t buffer, int64_t start, int64_t end, bool strict_indexing, QList<QByteArray> replacement); 248 // Integer nvim_buf_get_offset(Buffer buffer, Integer index, ) 249 MsgpackRequest* nvim_buf_get_offset(int64_t buffer, int64_t index); 250 // Object nvim_buf_get_var(Buffer buffer, String name, ) 251 MsgpackRequest* nvim_buf_get_var(int64_t buffer, QByteArray name); 252 // Integer nvim_buf_get_changedtick(Buffer buffer, ) 253 MsgpackRequest* nvim_buf_get_changedtick(int64_t buffer); 254 // ArrayOf(Dictionary) nvim_buf_get_keymap(Buffer buffer, String mode, ) 255 MsgpackRequest* nvim_buf_get_keymap(int64_t buffer, QByteArray mode); 256 // Dictionary nvim_buf_get_commands(Buffer buffer, Dictionary opts, ) 257 MsgpackRequest* nvim_buf_get_commands(int64_t buffer, QVariantMap opts); 258 // void nvim_buf_set_var(Buffer buffer, String name, Object value, ) 259 MsgpackRequest* nvim_buf_set_var(int64_t buffer, QByteArray name, QVariant value); 260 // void nvim_buf_del_var(Buffer buffer, String name, ) 261 MsgpackRequest* nvim_buf_del_var(int64_t buffer, QByteArray name); 262 // DEPRECATED 263 // Object buffer_set_var(Buffer buffer, String name, Object value, ) 264 MsgpackRequest* buffer_set_var(int64_t buffer, QByteArray name, QVariant value); 265 // DEPRECATED 266 // Object buffer_del_var(Buffer buffer, String name, ) 267 MsgpackRequest* buffer_del_var(int64_t buffer, QByteArray name); 268 // Object nvim_buf_get_option(Buffer buffer, String name, ) 269 MsgpackRequest* nvim_buf_get_option(int64_t buffer, QByteArray name); 270 // void nvim_buf_set_option(Buffer buffer, String name, Object value, ) 271 MsgpackRequest* nvim_buf_set_option(int64_t buffer, QByteArray name, QVariant value); 272 // DEPRECATED 273 // Integer nvim_buf_get_number(Buffer buffer, ) 274 MsgpackRequest* nvim_buf_get_number(int64_t buffer); 275 // String nvim_buf_get_name(Buffer buffer, ) 276 MsgpackRequest* nvim_buf_get_name(int64_t buffer); 277 // void nvim_buf_set_name(Buffer buffer, String name, ) 278 MsgpackRequest* nvim_buf_set_name(int64_t buffer, QByteArray name); 279 // Boolean nvim_buf_is_loaded(Buffer buffer, ) 280 MsgpackRequest* nvim_buf_is_loaded(int64_t buffer); 281 // Boolean nvim_buf_is_valid(Buffer buffer, ) 282 MsgpackRequest* nvim_buf_is_valid(int64_t buffer); 283 // DEPRECATED 284 // void buffer_insert(Buffer buffer, Integer lnum, ArrayOf(String) lines, ) 285 MsgpackRequest* buffer_insert(int64_t buffer, int64_t lnum, QList<QByteArray> lines); 286 // ArrayOf(Integer, 2) nvim_buf_get_mark(Buffer buffer, String name, ) 287 MsgpackRequest* nvim_buf_get_mark(int64_t buffer, QByteArray name); 288 // Integer nvim_buf_add_highlight(Buffer buffer, Integer ns_id, String hl_group, Integer line, Integer col_start, Integer col_end, ) 289 MsgpackRequest* nvim_buf_add_highlight(int64_t buffer, int64_t ns_id, QByteArray hl_group, int64_t line, int64_t col_start, int64_t col_end); 290 // void nvim_buf_clear_namespace(Buffer buffer, Integer ns_id, Integer line_start, Integer line_end, ) 291 MsgpackRequest* nvim_buf_clear_namespace(int64_t buffer, int64_t ns_id, int64_t line_start, int64_t line_end); 292 // void nvim_buf_clear_highlight(Buffer buffer, Integer ns_id, Integer line_start, Integer line_end, ) 293 MsgpackRequest* nvim_buf_clear_highlight(int64_t buffer, int64_t ns_id, int64_t line_start, int64_t line_end); 294 // Integer nvim_buf_set_virtual_text(Buffer buffer, Integer ns_id, Integer line, Array chunks, Dictionary opts, ) 295 MsgpackRequest* nvim_buf_set_virtual_text(int64_t buffer, int64_t ns_id, int64_t line, QVariantList chunks, QVariantMap opts); 296 // ArrayOf(Window) nvim_tabpage_list_wins(Tabpage tabpage, ) 297 MsgpackRequest* nvim_tabpage_list_wins(int64_t tabpage); 298 // Object nvim_tabpage_get_var(Tabpage tabpage, String name, ) 299 MsgpackRequest* nvim_tabpage_get_var(int64_t tabpage, QByteArray name); 300 // void nvim_tabpage_set_var(Tabpage tabpage, String name, Object value, ) 301 MsgpackRequest* nvim_tabpage_set_var(int64_t tabpage, QByteArray name, QVariant value); 302 // void nvim_tabpage_del_var(Tabpage tabpage, String name, ) 303 MsgpackRequest* nvim_tabpage_del_var(int64_t tabpage, QByteArray name); 304 // DEPRECATED 305 // Object tabpage_set_var(Tabpage tabpage, String name, Object value, ) 306 MsgpackRequest* tabpage_set_var(int64_t tabpage, QByteArray name, QVariant value); 307 // DEPRECATED 308 // Object tabpage_del_var(Tabpage tabpage, String name, ) 309 MsgpackRequest* tabpage_del_var(int64_t tabpage, QByteArray name); 310 // Window nvim_tabpage_get_win(Tabpage tabpage, ) 311 MsgpackRequest* nvim_tabpage_get_win(int64_t tabpage); 312 // Integer nvim_tabpage_get_number(Tabpage tabpage, ) 313 MsgpackRequest* nvim_tabpage_get_number(int64_t tabpage); 314 // Boolean nvim_tabpage_is_valid(Tabpage tabpage, ) 315 MsgpackRequest* nvim_tabpage_is_valid(int64_t tabpage); 316 // void nvim_ui_attach(Integer width, Integer height, Dictionary options, ) 317 MsgpackRequest* nvim_ui_attach(int64_t width, int64_t height, QVariantMap options); 318 // DEPRECATED 319 // void ui_attach(Integer width, Integer height, Boolean enable_rgb, ) 320 MsgpackRequest* ui_attach(int64_t width, int64_t height, bool enable_rgb); 321 // void nvim_ui_detach() 322 MsgpackRequest* nvim_ui_detach(); 323 // void nvim_ui_try_resize(Integer width, Integer height, ) 324 MsgpackRequest* nvim_ui_try_resize(int64_t width, int64_t height); 325 // void nvim_ui_set_option(String name, Object value, ) 326 MsgpackRequest* nvim_ui_set_option(QByteArray name, QVariant value); 327 // void nvim_command(String command, ) 328 MsgpackRequest* nvim_command(QByteArray command); 329 // Dictionary nvim_get_hl_by_name(String name, Boolean rgb, ) 330 MsgpackRequest* nvim_get_hl_by_name(QByteArray name, bool rgb); 331 // Dictionary nvim_get_hl_by_id(Integer hl_id, Boolean rgb, ) 332 MsgpackRequest* nvim_get_hl_by_id(int64_t hl_id, bool rgb); 333 // void nvim_feedkeys(String keys, String mode, Boolean escape_csi, ) 334 MsgpackRequest* nvim_feedkeys(QByteArray keys, QByteArray mode, bool escape_csi); 335 // Integer nvim_input(String keys, ) 336 MsgpackRequest* nvim_input(QByteArray keys); 337 // String nvim_replace_termcodes(String str, Boolean from_part, Boolean do_lt, Boolean special, ) 338 MsgpackRequest* nvim_replace_termcodes(QByteArray str, bool from_part, bool do_lt, bool special); 339 // String nvim_command_output(String command, ) 340 MsgpackRequest* nvim_command_output(QByteArray command); 341 // Object nvim_eval(String expr, ) 342 MsgpackRequest* nvim_eval(QByteArray expr); 343 // Object nvim_execute_lua(String code, Array args, ) 344 MsgpackRequest* nvim_execute_lua(QByteArray code, QVariantList args); 345 // Object nvim_call_function(String fn, Array args, ) 346 MsgpackRequest* nvim_call_function(QByteArray fn, QVariantList args); 347 // Object nvim_call_dict_function(Object dict, String fn, Array args, ) 348 MsgpackRequest* nvim_call_dict_function(QVariant dict, QByteArray fn, QVariantList args); 349 // Integer nvim_strwidth(String text, ) 350 MsgpackRequest* nvim_strwidth(QByteArray text); 351 // ArrayOf(String) nvim_list_runtime_paths() 352 MsgpackRequest* nvim_list_runtime_paths(); 353 // void nvim_set_current_dir(String dir, ) 354 MsgpackRequest* nvim_set_current_dir(QByteArray dir); 355 // String nvim_get_current_line() 356 MsgpackRequest* nvim_get_current_line(); 357 // void nvim_set_current_line(String line, ) 358 MsgpackRequest* nvim_set_current_line(QByteArray line); 359 // void nvim_del_current_line() 360 MsgpackRequest* nvim_del_current_line(); 361 // Object nvim_get_var(String name, ) 362 MsgpackRequest* nvim_get_var(QByteArray name); 363 // void nvim_set_var(String name, Object value, ) 364 MsgpackRequest* nvim_set_var(QByteArray name, QVariant value); 365 // void nvim_del_var(String name, ) 366 MsgpackRequest* nvim_del_var(QByteArray name); 367 // DEPRECATED 368 // Object vim_set_var(String name, Object value, ) 369 MsgpackRequest* vim_set_var(QByteArray name, QVariant value); 370 // DEPRECATED 371 // Object vim_del_var(String name, ) 372 MsgpackRequest* vim_del_var(QByteArray name); 373 // Object nvim_get_vvar(String name, ) 374 MsgpackRequest* nvim_get_vvar(QByteArray name); 375 // Object nvim_get_option(String name, ) 376 MsgpackRequest* nvim_get_option(QByteArray name); 377 // void nvim_set_option(String name, Object value, ) 378 MsgpackRequest* nvim_set_option(QByteArray name, QVariant value); 379 // void nvim_out_write(String str, ) 380 MsgpackRequest* nvim_out_write(QByteArray str); 381 // void nvim_err_write(String str, ) 382 MsgpackRequest* nvim_err_write(QByteArray str); 383 // void nvim_err_writeln(String str, ) 384 MsgpackRequest* nvim_err_writeln(QByteArray str); 385 // ArrayOf(Buffer) nvim_list_bufs() 386 MsgpackRequest* nvim_list_bufs(); 387 // Buffer nvim_get_current_buf() 388 MsgpackRequest* nvim_get_current_buf(); 389 // void nvim_set_current_buf(Buffer buffer, ) 390 MsgpackRequest* nvim_set_current_buf(int64_t buffer); 391 // ArrayOf(Window) nvim_list_wins() 392 MsgpackRequest* nvim_list_wins(); 393 // Window nvim_get_current_win() 394 MsgpackRequest* nvim_get_current_win(); 395 // void nvim_set_current_win(Window window, ) 396 MsgpackRequest* nvim_set_current_win(int64_t window); 397 // ArrayOf(Tabpage) nvim_list_tabpages() 398 MsgpackRequest* nvim_list_tabpages(); 399 // Tabpage nvim_get_current_tabpage() 400 MsgpackRequest* nvim_get_current_tabpage(); 401 // void nvim_set_current_tabpage(Tabpage tabpage, ) 402 MsgpackRequest* nvim_set_current_tabpage(int64_t tabpage); 403 // Integer nvim_create_namespace(String name, ) 404 MsgpackRequest* nvim_create_namespace(QByteArray name); 405 // Dictionary nvim_get_namespaces() 406 MsgpackRequest* nvim_get_namespaces(); 407 // void nvim_subscribe(String event, ) 408 MsgpackRequest* nvim_subscribe(QByteArray event); 409 // void nvim_unsubscribe(String event, ) 410 MsgpackRequest* nvim_unsubscribe(QByteArray event); 411 // Integer nvim_get_color_by_name(String name, ) 412 MsgpackRequest* nvim_get_color_by_name(QByteArray name); 413 // Dictionary nvim_get_color_map() 414 MsgpackRequest* nvim_get_color_map(); 415 // Dictionary nvim_get_mode() 416 MsgpackRequest* nvim_get_mode(); 417 // ArrayOf(Dictionary) nvim_get_keymap(String mode, ) 418 MsgpackRequest* nvim_get_keymap(QByteArray mode); 419 // Dictionary nvim_get_commands(Dictionary opts, ) 420 MsgpackRequest* nvim_get_commands(QVariantMap opts); 421 // Array nvim_get_api_info() 422 MsgpackRequest* nvim_get_api_info(); 423 // void nvim_set_client_info(String name, Dictionary version, String type, Dictionary methods, Dictionary attributes, ) 424 MsgpackRequest* nvim_set_client_info(QByteArray name, QVariantMap version, QByteArray type, QVariantMap methods, QVariantMap attributes); 425 // Dictionary nvim_get_chan_info(Integer chan, ) 426 MsgpackRequest* nvim_get_chan_info(int64_t chan); 427 // Array nvim_list_chans() 428 MsgpackRequest* nvim_list_chans(); 429 // Array nvim_call_atomic(Array calls, ) 430 MsgpackRequest* nvim_call_atomic(QVariantList calls); 431 // Dictionary nvim_parse_expression(String expr, String flags, Boolean highlight, ) 432 MsgpackRequest* nvim_parse_expression(QByteArray expr, QByteArray flags, bool highlight); 433 // Array nvim_list_uis() 434 MsgpackRequest* nvim_list_uis(); 435 // Array nvim_get_proc_children(Integer pid, ) 436 MsgpackRequest* nvim_get_proc_children(int64_t pid); 437 // Object nvim_get_proc(Integer pid, ) 438 MsgpackRequest* nvim_get_proc(int64_t pid); 439 // Buffer nvim_win_get_buf(Window window, ) 440 MsgpackRequest* nvim_win_get_buf(int64_t window); 441 // void nvim_win_set_buf(Window window, Buffer buffer, ) 442 MsgpackRequest* nvim_win_set_buf(int64_t window, int64_t buffer); 443 // ArrayOf(Integer, 2) nvim_win_get_cursor(Window window, ) 444 MsgpackRequest* nvim_win_get_cursor(int64_t window); 445 // void nvim_win_set_cursor(Window window, ArrayOf(Integer, 2) pos, ) 446 MsgpackRequest* nvim_win_set_cursor(int64_t window, QPoint pos); 447 // Integer nvim_win_get_height(Window window, ) 448 MsgpackRequest* nvim_win_get_height(int64_t window); 449 // void nvim_win_set_height(Window window, Integer height, ) 450 MsgpackRequest* nvim_win_set_height(int64_t window, int64_t height); 451 // Integer nvim_win_get_width(Window window, ) 452 MsgpackRequest* nvim_win_get_width(int64_t window); 453 // void nvim_win_set_width(Window window, Integer width, ) 454 MsgpackRequest* nvim_win_set_width(int64_t window, int64_t width); 455 // Object nvim_win_get_var(Window window, String name, ) 456 MsgpackRequest* nvim_win_get_var(int64_t window, QByteArray name); 457 // void nvim_win_set_var(Window window, String name, Object value, ) 458 MsgpackRequest* nvim_win_set_var(int64_t window, QByteArray name, QVariant value); 459 // void nvim_win_del_var(Window window, String name, ) 460 MsgpackRequest* nvim_win_del_var(int64_t window, QByteArray name); 461 // DEPRECATED 462 // Object window_set_var(Window window, String name, Object value, ) 463 MsgpackRequest* window_set_var(int64_t window, QByteArray name, QVariant value); 464 // DEPRECATED 465 // Object window_del_var(Window window, String name, ) 466 MsgpackRequest* window_del_var(int64_t window, QByteArray name); 467 // Object nvim_win_get_option(Window window, String name, ) 468 MsgpackRequest* nvim_win_get_option(int64_t window, QByteArray name); 469 // void nvim_win_set_option(Window window, String name, Object value, ) 470 MsgpackRequest* nvim_win_set_option(int64_t window, QByteArray name, QVariant value); 471 // ArrayOf(Integer, 2) nvim_win_get_position(Window window, ) 472 MsgpackRequest* nvim_win_get_position(int64_t window); 473 // Tabpage nvim_win_get_tabpage(Window window, ) 474 MsgpackRequest* nvim_win_get_tabpage(int64_t window); 475 // Integer nvim_win_get_number(Window window, ) 476 MsgpackRequest* nvim_win_get_number(int64_t window); 477 // Boolean nvim_win_is_valid(Window window, ) 478 MsgpackRequest* nvim_win_is_valid(int64_t window); 479 // DEPRECATED 480 // Integer buffer_line_count(Buffer buffer, ) 481 MsgpackRequest* buffer_line_count(int64_t buffer); 482 // DEPRECATED 483 // ArrayOf(String) buffer_get_lines(Buffer buffer, Integer start, Integer end, Boolean strict_indexing, ) 484 MsgpackRequest* buffer_get_lines(int64_t buffer, int64_t start, int64_t end, bool strict_indexing); 485 // DEPRECATED 486 // void buffer_set_lines(Buffer buffer, Integer start, Integer end, Boolean strict_indexing, ArrayOf(String) replacement, ) 487 MsgpackRequest* buffer_set_lines(int64_t buffer, int64_t start, int64_t end, bool strict_indexing, QList<QByteArray> replacement); 488 // DEPRECATED 489 // Object buffer_get_var(Buffer buffer, String name, ) 490 MsgpackRequest* buffer_get_var(int64_t buffer, QByteArray name); 491 // DEPRECATED 492 // Object buffer_get_option(Buffer buffer, String name, ) 493 MsgpackRequest* buffer_get_option(int64_t buffer, QByteArray name); 494 // DEPRECATED 495 // void buffer_set_option(Buffer buffer, String name, Object value, ) 496 MsgpackRequest* buffer_set_option(int64_t buffer, QByteArray name, QVariant value); 497 // DEPRECATED 498 // Integer buffer_get_number(Buffer buffer, ) 499 MsgpackRequest* buffer_get_number(int64_t buffer); 500 // DEPRECATED 501 // String buffer_get_name(Buffer buffer, ) 502 MsgpackRequest* buffer_get_name(int64_t buffer); 503 // DEPRECATED 504 // void buffer_set_name(Buffer buffer, String name, ) 505 MsgpackRequest* buffer_set_name(int64_t buffer, QByteArray name); 506 // DEPRECATED 507 // Boolean buffer_is_valid(Buffer buffer, ) 508 MsgpackRequest* buffer_is_valid(int64_t buffer); 509 // DEPRECATED 510 // ArrayOf(Integer, 2) buffer_get_mark(Buffer buffer, String name, ) 511 MsgpackRequest* buffer_get_mark(int64_t buffer, QByteArray name); 512 // DEPRECATED 513 // Integer buffer_add_highlight(Buffer buffer, Integer ns_id, String hl_group, Integer line, Integer col_start, Integer col_end, ) 514 MsgpackRequest* buffer_add_highlight(int64_t buffer, int64_t ns_id, QByteArray hl_group, int64_t line, int64_t col_start, int64_t col_end); 515 // DEPRECATED 516 // void buffer_clear_highlight(Buffer buffer, Integer ns_id, Integer line_start, Integer line_end, ) 517 MsgpackRequest* buffer_clear_highlight(int64_t buffer, int64_t ns_id, int64_t line_start, int64_t line_end); 518 // DEPRECATED 519 // ArrayOf(Window) tabpage_get_windows(Tabpage tabpage, ) 520 MsgpackRequest* tabpage_get_windows(int64_t tabpage); 521 // DEPRECATED 522 // Object tabpage_get_var(Tabpage tabpage, String name, ) 523 MsgpackRequest* tabpage_get_var(int64_t tabpage, QByteArray name); 524 // DEPRECATED 525 // Window tabpage_get_window(Tabpage tabpage, ) 526 MsgpackRequest* tabpage_get_window(int64_t tabpage); 527 // DEPRECATED 528 // Boolean tabpage_is_valid(Tabpage tabpage, ) 529 MsgpackRequest* tabpage_is_valid(int64_t tabpage); 530 // DEPRECATED 531 // void ui_detach() 532 MsgpackRequest* ui_detach(); 533 // DEPRECATED 534 // Object ui_try_resize(Integer width, Integer height, ) 535 MsgpackRequest* ui_try_resize(int64_t width, int64_t height); 536 // DEPRECATED 537 // void vim_command(String command, ) 538 MsgpackRequest* vim_command(QByteArray command); 539 // DEPRECATED 540 // void vim_feedkeys(String keys, String mode, Boolean escape_csi, ) 541 MsgpackRequest* vim_feedkeys(QByteArray keys, QByteArray mode, bool escape_csi); 542 // DEPRECATED 543 // Integer vim_input(String keys, ) 544 MsgpackRequest* vim_input(QByteArray keys); 545 // DEPRECATED 546 // String vim_replace_termcodes(String str, Boolean from_part, Boolean do_lt, Boolean special, ) 547 MsgpackRequest* vim_replace_termcodes(QByteArray str, bool from_part, bool do_lt, bool special); 548 // DEPRECATED 549 // String vim_command_output(String command, ) 550 MsgpackRequest* vim_command_output(QByteArray command); 551 // DEPRECATED 552 // Object vim_eval(String expr, ) 553 MsgpackRequest* vim_eval(QByteArray expr); 554 // DEPRECATED 555 // Object vim_call_function(String fn, Array args, ) 556 MsgpackRequest* vim_call_function(QByteArray fn, QVariantList args); 557 // DEPRECATED 558 // Integer vim_strwidth(String text, ) 559 MsgpackRequest* vim_strwidth(QByteArray text); 560 // DEPRECATED 561 // ArrayOf(String) vim_list_runtime_paths() 562 MsgpackRequest* vim_list_runtime_paths(); 563 // DEPRECATED 564 // void vim_change_directory(String dir, ) 565 MsgpackRequest* vim_change_directory(QByteArray dir); 566 // DEPRECATED 567 // String vim_get_current_line() 568 MsgpackRequest* vim_get_current_line(); 569 // DEPRECATED 570 // void vim_set_current_line(String line, ) 571 MsgpackRequest* vim_set_current_line(QByteArray line); 572 // DEPRECATED 573 // void vim_del_current_line() 574 MsgpackRequest* vim_del_current_line(); 575 // DEPRECATED 576 // Object vim_get_var(String name, ) 577 MsgpackRequest* vim_get_var(QByteArray name); 578 // DEPRECATED 579 // Object vim_get_vvar(String name, ) 580 MsgpackRequest* vim_get_vvar(QByteArray name); 581 // DEPRECATED 582 // Object vim_get_option(String name, ) 583 MsgpackRequest* vim_get_option(QByteArray name); 584 // DEPRECATED 585 // void vim_set_option(String name, Object value, ) 586 MsgpackRequest* vim_set_option(QByteArray name, QVariant value); 587 // DEPRECATED 588 // void vim_out_write(String str, ) 589 MsgpackRequest* vim_out_write(QByteArray str); 590 // DEPRECATED 591 // void vim_err_write(String str, ) 592 MsgpackRequest* vim_err_write(QByteArray str); 593 // DEPRECATED 594 // void vim_report_error(String str, ) 595 MsgpackRequest* vim_report_error(QByteArray str); 596 // DEPRECATED 597 // ArrayOf(Buffer) vim_get_buffers() 598 MsgpackRequest* vim_get_buffers(); 599 // DEPRECATED 600 // Buffer vim_get_current_buffer() 601 MsgpackRequest* vim_get_current_buffer(); 602 // DEPRECATED 603 // void vim_set_current_buffer(Buffer buffer, ) 604 MsgpackRequest* vim_set_current_buffer(int64_t buffer); 605 // DEPRECATED 606 // ArrayOf(Window) vim_get_windows() 607 MsgpackRequest* vim_get_windows(); 608 // DEPRECATED 609 // Window vim_get_current_window() 610 MsgpackRequest* vim_get_current_window(); 611 // DEPRECATED 612 // void vim_set_current_window(Window window, ) 613 MsgpackRequest* vim_set_current_window(int64_t window); 614 // DEPRECATED 615 // ArrayOf(Tabpage) vim_get_tabpages() 616 MsgpackRequest* vim_get_tabpages(); 617 // DEPRECATED 618 // Tabpage vim_get_current_tabpage() 619 MsgpackRequest* vim_get_current_tabpage(); 620 // DEPRECATED 621 // void vim_set_current_tabpage(Tabpage tabpage, ) 622 MsgpackRequest* vim_set_current_tabpage(int64_t tabpage); 623 // DEPRECATED 624 // void vim_subscribe(String event, ) 625 MsgpackRequest* vim_subscribe(QByteArray event); 626 // DEPRECATED 627 // void vim_unsubscribe(String event, ) 628 MsgpackRequest* vim_unsubscribe(QByteArray event); 629 // DEPRECATED 630 // Integer vim_name_to_color(String name, ) 631 MsgpackRequest* vim_name_to_color(QByteArray name); 632 // DEPRECATED 633 // Dictionary vim_get_color_map() 634 MsgpackRequest* vim_get_color_map(); 635 // DEPRECATED 636 // Buffer window_get_buffer(Window window, ) 637 MsgpackRequest* window_get_buffer(int64_t window); 638 // DEPRECATED 639 // ArrayOf(Integer, 2) window_get_cursor(Window window, ) 640 MsgpackRequest* window_get_cursor(int64_t window); 641 // DEPRECATED 642 // void window_set_cursor(Window window, ArrayOf(Integer, 2) pos, ) 643 MsgpackRequest* window_set_cursor(int64_t window, QPoint pos); 644 // DEPRECATED 645 // Integer window_get_height(Window window, ) 646 MsgpackRequest* window_get_height(int64_t window); 647 // DEPRECATED 648 // void window_set_height(Window window, Integer height, ) 649 MsgpackRequest* window_set_height(int64_t window, int64_t height); 650 // DEPRECATED 651 // Integer window_get_width(Window window, ) 652 MsgpackRequest* window_get_width(int64_t window); 653 // DEPRECATED 654 // void window_set_width(Window window, Integer width, ) 655 MsgpackRequest* window_set_width(int64_t window, int64_t width); 656 // DEPRECATED 657 // Object window_get_var(Window window, String name, ) 658 MsgpackRequest* window_get_var(int64_t window, QByteArray name); 659 // DEPRECATED 660 // Object window_get_option(Window window, String name, ) 661 MsgpackRequest* window_get_option(int64_t window, QByteArray name); 662 // DEPRECATED 663 // void window_set_option(Window window, String name, Object value, ) 664 MsgpackRequest* window_set_option(int64_t window, QByteArray name, QVariant value); 665 // DEPRECATED 666 // ArrayOf(Integer, 2) window_get_position(Window window, ) 667 MsgpackRequest* window_get_position(int64_t window); 668 // DEPRECATED 669 // Tabpage window_get_tabpage(Window window, ) 670 MsgpackRequest* window_get_tabpage(int64_t window); 671 // DEPRECATED 672 // Boolean window_is_valid(Window window, ) 673 MsgpackRequest* window_is_valid(int64_t window); 674 675 signals: 676 void on_nvim_buf_line_count(int64_t); 677 void err_nvim_buf_line_count(const QString&, const QVariant&); 678 679 void on_buffer_get_line(QByteArray); 680 void err_buffer_get_line(const QString&, const QVariant&); 681 682 void on_nvim_buf_attach(bool); 683 void err_nvim_buf_attach(const QString&, const QVariant&); 684 685 void on_nvim_buf_detach(bool); 686 void err_nvim_buf_detach(const QString&, const QVariant&); 687 688 void on_buffer_set_line(void); 689 void err_buffer_set_line(const QString&, const QVariant&); 690 691 void on_buffer_del_line(void); 692 void err_buffer_del_line(const QString&, const QVariant&); 693 694 void on_buffer_get_line_slice(QList<QByteArray>); 695 void err_buffer_get_line_slice(const QString&, const QVariant&); 696 697 void on_nvim_buf_get_lines(QList<QByteArray>); 698 void err_nvim_buf_get_lines(const QString&, const QVariant&); 699 700 void on_buffer_set_line_slice(void); 701 void err_buffer_set_line_slice(const QString&, const QVariant&); 702 703 void on_nvim_buf_set_lines(void); 704 void err_nvim_buf_set_lines(const QString&, const QVariant&); 705 706 void on_nvim_buf_get_offset(int64_t); 707 void err_nvim_buf_get_offset(const QString&, const QVariant&); 708 709 void on_nvim_buf_get_var(QVariant); 710 void err_nvim_buf_get_var(const QString&, const QVariant&); 711 712 void on_nvim_buf_get_changedtick(int64_t); 713 void err_nvim_buf_get_changedtick(const QString&, const QVariant&); 714 715 void on_nvim_buf_get_keymap(QList<QVariantMap>); 716 void err_nvim_buf_get_keymap(const QString&, const QVariant&); 717 718 void on_nvim_buf_get_commands(QVariantMap); 719 void err_nvim_buf_get_commands(const QString&, const QVariant&); 720 721 void on_nvim_buf_set_var(void); 722 void err_nvim_buf_set_var(const QString&, const QVariant&); 723 724 void on_nvim_buf_del_var(void); 725 void err_nvim_buf_del_var(const QString&, const QVariant&); 726 727 void on_buffer_set_var(QVariant); 728 void err_buffer_set_var(const QString&, const QVariant&); 729 730 void on_buffer_del_var(QVariant); 731 void err_buffer_del_var(const QString&, const QVariant&); 732 733 void on_nvim_buf_get_option(QVariant); 734 void err_nvim_buf_get_option(const QString&, const QVariant&); 735 736 void on_nvim_buf_set_option(void); 737 void err_nvim_buf_set_option(const QString&, const QVariant&); 738 739 void on_nvim_buf_get_number(int64_t); 740 void err_nvim_buf_get_number(const QString&, const QVariant&); 741 742 void on_nvim_buf_get_name(QByteArray); 743 void err_nvim_buf_get_name(const QString&, const QVariant&); 744 745 void on_nvim_buf_set_name(void); 746 void err_nvim_buf_set_name(const QString&, const QVariant&); 747 748 void on_nvim_buf_is_loaded(bool); 749 void err_nvim_buf_is_loaded(const QString&, const QVariant&); 750 751 void on_nvim_buf_is_valid(bool); 752 void err_nvim_buf_is_valid(const QString&, const QVariant&); 753 754 void on_buffer_insert(void); 755 void err_buffer_insert(const QString&, const QVariant&); 756 757 void on_nvim_buf_get_mark(QPoint); 758 void err_nvim_buf_get_mark(const QString&, const QVariant&); 759 760 void on_nvim_buf_add_highlight(int64_t); 761 void err_nvim_buf_add_highlight(const QString&, const QVariant&); 762 763 void on_nvim_buf_clear_namespace(void); 764 void err_nvim_buf_clear_namespace(const QString&, const QVariant&); 765 766 void on_nvim_buf_clear_highlight(void); 767 void err_nvim_buf_clear_highlight(const QString&, const QVariant&); 768 769 void on_nvim_buf_set_virtual_text(int64_t); 770 void err_nvim_buf_set_virtual_text(const QString&, const QVariant&); 771 772 void on_nvim_tabpage_list_wins(QList<int64_t>); 773 void err_nvim_tabpage_list_wins(const QString&, const QVariant&); 774 775 void on_nvim_tabpage_get_var(QVariant); 776 void err_nvim_tabpage_get_var(const QString&, const QVariant&); 777 778 void on_nvim_tabpage_set_var(void); 779 void err_nvim_tabpage_set_var(const QString&, const QVariant&); 780 781 void on_nvim_tabpage_del_var(void); 782 void err_nvim_tabpage_del_var(const QString&, const QVariant&); 783 784 void on_tabpage_set_var(QVariant); 785 void err_tabpage_set_var(const QString&, const QVariant&); 786 787 void on_tabpage_del_var(QVariant); 788 void err_tabpage_del_var(const QString&, const QVariant&); 789 790 void on_nvim_tabpage_get_win(int64_t); 791 void err_nvim_tabpage_get_win(const QString&, const QVariant&); 792 793 void on_nvim_tabpage_get_number(int64_t); 794 void err_nvim_tabpage_get_number(const QString&, const QVariant&); 795 796 void on_nvim_tabpage_is_valid(bool); 797 void err_nvim_tabpage_is_valid(const QString&, const QVariant&); 798 799 void on_nvim_ui_attach(void); 800 void err_nvim_ui_attach(const QString&, const QVariant&); 801 802 void on_ui_attach(void); 803 void err_ui_attach(const QString&, const QVariant&); 804 805 void on_nvim_ui_detach(void); 806 void err_nvim_ui_detach(const QString&, const QVariant&); 807 808 void on_nvim_ui_try_resize(void); 809 void err_nvim_ui_try_resize(const QString&, const QVariant&); 810 811 void on_nvim_ui_set_option(void); 812 void err_nvim_ui_set_option(const QString&, const QVariant&); 813 814 void on_nvim_command(void); 815 void err_nvim_command(const QString&, const QVariant&); 816 817 void on_nvim_get_hl_by_name(QVariantMap); 818 void err_nvim_get_hl_by_name(const QString&, const QVariant&); 819 820 void on_nvim_get_hl_by_id(QVariantMap); 821 void err_nvim_get_hl_by_id(const QString&, const QVariant&); 822 823 void on_nvim_feedkeys(void); 824 void err_nvim_feedkeys(const QString&, const QVariant&); 825 826 void on_nvim_input(int64_t); 827 void err_nvim_input(const QString&, const QVariant&); 828 829 void on_nvim_replace_termcodes(QByteArray); 830 void err_nvim_replace_termcodes(const QString&, const QVariant&); 831 832 void on_nvim_command_output(QByteArray); 833 void err_nvim_command_output(const QString&, const QVariant&); 834 835 void on_nvim_eval(QVariant); 836 void err_nvim_eval(const QString&, const QVariant&); 837 838 void on_nvim_execute_lua(QVariant); 839 void err_nvim_execute_lua(const QString&, const QVariant&); 840 841 void on_nvim_call_function(QVariant); 842 void err_nvim_call_function(const QString&, const QVariant&); 843 844 void on_nvim_call_dict_function(QVariant); 845 void err_nvim_call_dict_function(const QString&, const QVariant&); 846 847 void on_nvim_strwidth(int64_t); 848 void err_nvim_strwidth(const QString&, const QVariant&); 849 850 void on_nvim_list_runtime_paths(QList<QByteArray>); 851 void err_nvim_list_runtime_paths(const QString&, const QVariant&); 852 853 void on_nvim_set_current_dir(void); 854 void err_nvim_set_current_dir(const QString&, const QVariant&); 855 856 void on_nvim_get_current_line(QByteArray); 857 void err_nvim_get_current_line(const QString&, const QVariant&); 858 859 void on_nvim_set_current_line(void); 860 void err_nvim_set_current_line(const QString&, const QVariant&); 861 862 void on_nvim_del_current_line(void); 863 void err_nvim_del_current_line(const QString&, const QVariant&); 864 865 void on_nvim_get_var(QVariant); 866 void err_nvim_get_var(const QString&, const QVariant&); 867 868 void on_nvim_set_var(void); 869 void err_nvim_set_var(const QString&, const QVariant&); 870 871 void on_nvim_del_var(void); 872 void err_nvim_del_var(const QString&, const QVariant&); 873 874 void on_vim_set_var(QVariant); 875 void err_vim_set_var(const QString&, const QVariant&); 876 877 void on_vim_del_var(QVariant); 878 void err_vim_del_var(const QString&, const QVariant&); 879 880 void on_nvim_get_vvar(QVariant); 881 void err_nvim_get_vvar(const QString&, const QVariant&); 882 883 void on_nvim_get_option(QVariant); 884 void err_nvim_get_option(const QString&, const QVariant&); 885 886 void on_nvim_set_option(void); 887 void err_nvim_set_option(const QString&, const QVariant&); 888 889 void on_nvim_out_write(void); 890 void err_nvim_out_write(const QString&, const QVariant&); 891 892 void on_nvim_err_write(void); 893 void err_nvim_err_write(const QString&, const QVariant&); 894 895 void on_nvim_err_writeln(void); 896 void err_nvim_err_writeln(const QString&, const QVariant&); 897 898 void on_nvim_list_bufs(QList<int64_t>); 899 void err_nvim_list_bufs(const QString&, const QVariant&); 900 901 void on_nvim_get_current_buf(int64_t); 902 void err_nvim_get_current_buf(const QString&, const QVariant&); 903 904 void on_nvim_set_current_buf(void); 905 void err_nvim_set_current_buf(const QString&, const QVariant&); 906 907 void on_nvim_list_wins(QList<int64_t>); 908 void err_nvim_list_wins(const QString&, const QVariant&); 909 910 void on_nvim_get_current_win(int64_t); 911 void err_nvim_get_current_win(const QString&, const QVariant&); 912 913 void on_nvim_set_current_win(void); 914 void err_nvim_set_current_win(const QString&, const QVariant&); 915 916 void on_nvim_list_tabpages(QList<int64_t>); 917 void err_nvim_list_tabpages(const QString&, const QVariant&); 918 919 void on_nvim_get_current_tabpage(int64_t); 920 void err_nvim_get_current_tabpage(const QString&, const QVariant&); 921 922 void on_nvim_set_current_tabpage(void); 923 void err_nvim_set_current_tabpage(const QString&, const QVariant&); 924 925 void on_nvim_create_namespace(int64_t); 926 void err_nvim_create_namespace(const QString&, const QVariant&); 927 928 void on_nvim_get_namespaces(QVariantMap); 929 void err_nvim_get_namespaces(const QString&, const QVariant&); 930 931 void on_nvim_subscribe(void); 932 void err_nvim_subscribe(const QString&, const QVariant&); 933 934 void on_nvim_unsubscribe(void); 935 void err_nvim_unsubscribe(const QString&, const QVariant&); 936 937 void on_nvim_get_color_by_name(int64_t); 938 void err_nvim_get_color_by_name(const QString&, const QVariant&); 939 940 void on_nvim_get_color_map(QVariantMap); 941 void err_nvim_get_color_map(const QString&, const QVariant&); 942 943 void on_nvim_get_mode(QVariantMap); 944 void err_nvim_get_mode(const QString&, const QVariant&); 945 946 void on_nvim_get_keymap(QList<QVariantMap>); 947 void err_nvim_get_keymap(const QString&, const QVariant&); 948 949 void on_nvim_get_commands(QVariantMap); 950 void err_nvim_get_commands(const QString&, const QVariant&); 951 952 void on_nvim_get_api_info(QVariantList); 953 void err_nvim_get_api_info(const QString&, const QVariant&); 954 955 void on_nvim_set_client_info(void); 956 void err_nvim_set_client_info(const QString&, const QVariant&); 957 958 void on_nvim_get_chan_info(QVariantMap); 959 void err_nvim_get_chan_info(const QString&, const QVariant&); 960 961 void on_nvim_list_chans(QVariantList); 962 void err_nvim_list_chans(const QString&, const QVariant&); 963 964 void on_nvim_call_atomic(QVariantList); 965 void err_nvim_call_atomic(const QString&, const QVariant&); 966 967 void on_nvim_parse_expression(QVariantMap); 968 void err_nvim_parse_expression(const QString&, const QVariant&); 969 970 void on_nvim_list_uis(QVariantList); 971 void err_nvim_list_uis(const QString&, const QVariant&); 972 973 void on_nvim_get_proc_children(QVariantList); 974 void err_nvim_get_proc_children(const QString&, const QVariant&); 975 976 void on_nvim_get_proc(QVariant); 977 void err_nvim_get_proc(const QString&, const QVariant&); 978 979 void on_nvim_win_get_buf(int64_t); 980 void err_nvim_win_get_buf(const QString&, const QVariant&); 981 982 void on_nvim_win_set_buf(void); 983 void err_nvim_win_set_buf(const QString&, const QVariant&); 984 985 void on_nvim_win_get_cursor(QPoint); 986 void err_nvim_win_get_cursor(const QString&, const QVariant&); 987 988 void on_nvim_win_set_cursor(void); 989 void err_nvim_win_set_cursor(const QString&, const QVariant&); 990 991 void on_nvim_win_get_height(int64_t); 992 void err_nvim_win_get_height(const QString&, const QVariant&); 993 994 void on_nvim_win_set_height(void); 995 void err_nvim_win_set_height(const QString&, const QVariant&); 996 997 void on_nvim_win_get_width(int64_t); 998 void err_nvim_win_get_width(const QString&, const QVariant&); 999 1000 void on_nvim_win_set_width(void); 1001 void err_nvim_win_set_width(const QString&, const QVariant&); 1002 1003 void on_nvim_win_get_var(QVariant); 1004 void err_nvim_win_get_var(const QString&, const QVariant&); 1005 1006 void on_nvim_win_set_var(void); 1007 void err_nvim_win_set_var(const QString&, const QVariant&); 1008 1009 void on_nvim_win_del_var(void); 1010 void err_nvim_win_del_var(const QString&, const QVariant&); 1011 1012 void on_window_set_var(QVariant); 1013 void err_window_set_var(const QString&, const QVariant&); 1014 1015 void on_window_del_var(QVariant); 1016 void err_window_del_var(const QString&, const QVariant&); 1017 1018 void on_nvim_win_get_option(QVariant); 1019 void err_nvim_win_get_option(const QString&, const QVariant&); 1020 1021 void on_nvim_win_set_option(void); 1022 void err_nvim_win_set_option(const QString&, const QVariant&); 1023 1024 void on_nvim_win_get_position(QPoint); 1025 void err_nvim_win_get_position(const QString&, const QVariant&); 1026 1027 void on_nvim_win_get_tabpage(int64_t); 1028 void err_nvim_win_get_tabpage(const QString&, const QVariant&); 1029 1030 void on_nvim_win_get_number(int64_t); 1031 void err_nvim_win_get_number(const QString&, const QVariant&); 1032 1033 void on_nvim_win_is_valid(bool); 1034 void err_nvim_win_is_valid(const QString&, const QVariant&); 1035 1036 void on_buffer_line_count(int64_t); 1037 void err_buffer_line_count(const QString&, const QVariant&); 1038 1039 void on_buffer_get_lines(QList<QByteArray>); 1040 void err_buffer_get_lines(const QString&, const QVariant&); 1041 1042 void on_buffer_set_lines(void); 1043 void err_buffer_set_lines(const QString&, const QVariant&); 1044 1045 void on_buffer_get_var(QVariant); 1046 void err_buffer_get_var(const QString&, const QVariant&); 1047 1048 void on_buffer_get_option(QVariant); 1049 void err_buffer_get_option(const QString&, const QVariant&); 1050 1051 void on_buffer_set_option(void); 1052 void err_buffer_set_option(const QString&, const QVariant&); 1053 1054 void on_buffer_get_number(int64_t); 1055 void err_buffer_get_number(const QString&, const QVariant&); 1056 1057 void on_buffer_get_name(QByteArray); 1058 void err_buffer_get_name(const QString&, const QVariant&); 1059 1060 void on_buffer_set_name(void); 1061 void err_buffer_set_name(const QString&, const QVariant&); 1062 1063 void on_buffer_is_valid(bool); 1064 void err_buffer_is_valid(const QString&, const QVariant&); 1065 1066 void on_buffer_get_mark(QPoint); 1067 void err_buffer_get_mark(const QString&, const QVariant&); 1068 1069 void on_buffer_add_highlight(int64_t); 1070 void err_buffer_add_highlight(const QString&, const QVariant&); 1071 1072 void on_buffer_clear_highlight(void); 1073 void err_buffer_clear_highlight(const QString&, const QVariant&); 1074 1075 void on_tabpage_get_windows(QList<int64_t>); 1076 void err_tabpage_get_windows(const QString&, const QVariant&); 1077 1078 void on_tabpage_get_var(QVariant); 1079 void err_tabpage_get_var(const QString&, const QVariant&); 1080 1081 void on_tabpage_get_window(int64_t); 1082 void err_tabpage_get_window(const QString&, const QVariant&); 1083 1084 void on_tabpage_is_valid(bool); 1085 void err_tabpage_is_valid(const QString&, const QVariant&); 1086 1087 void on_ui_detach(void); 1088 void err_ui_detach(const QString&, const QVariant&); 1089 1090 void on_ui_try_resize(QVariant); 1091 void err_ui_try_resize(const QString&, const QVariant&); 1092 1093 void on_vim_command(void); 1094 void err_vim_command(const QString&, const QVariant&); 1095 1096 void on_vim_feedkeys(void); 1097 void err_vim_feedkeys(const QString&, const QVariant&); 1098 1099 void on_vim_input(int64_t); 1100 void err_vim_input(const QString&, const QVariant&); 1101 1102 void on_vim_replace_termcodes(QByteArray); 1103 void err_vim_replace_termcodes(const QString&, const QVariant&); 1104 1105 void on_vim_command_output(QByteArray); 1106 void err_vim_command_output(const QString&, const QVariant&); 1107 1108 void on_vim_eval(QVariant); 1109 void err_vim_eval(const QString&, const QVariant&); 1110 1111 void on_vim_call_function(QVariant); 1112 void err_vim_call_function(const QString&, const QVariant&); 1113 1114 void on_vim_strwidth(int64_t); 1115 void err_vim_strwidth(const QString&, const QVariant&); 1116 1117 void on_vim_list_runtime_paths(QList<QByteArray>); 1118 void err_vim_list_runtime_paths(const QString&, const QVariant&); 1119 1120 void on_vim_change_directory(void); 1121 void err_vim_change_directory(const QString&, const QVariant&); 1122 1123 void on_vim_get_current_line(QByteArray); 1124 void err_vim_get_current_line(const QString&, const QVariant&); 1125 1126 void on_vim_set_current_line(void); 1127 void err_vim_set_current_line(const QString&, const QVariant&); 1128 1129 void on_vim_del_current_line(void); 1130 void err_vim_del_current_line(const QString&, const QVariant&); 1131 1132 void on_vim_get_var(QVariant); 1133 void err_vim_get_var(const QString&, const QVariant&); 1134 1135 void on_vim_get_vvar(QVariant); 1136 void err_vim_get_vvar(const QString&, const QVariant&); 1137 1138 void on_vim_get_option(QVariant); 1139 void err_vim_get_option(const QString&, const QVariant&); 1140 1141 void on_vim_set_option(void); 1142 void err_vim_set_option(const QString&, const QVariant&); 1143 1144 void on_vim_out_write(void); 1145 void err_vim_out_write(const QString&, const QVariant&); 1146 1147 void on_vim_err_write(void); 1148 void err_vim_err_write(const QString&, const QVariant&); 1149 1150 void on_vim_report_error(void); 1151 void err_vim_report_error(const QString&, const QVariant&); 1152 1153 void on_vim_get_buffers(QList<int64_t>); 1154 void err_vim_get_buffers(const QString&, const QVariant&); 1155 1156 void on_vim_get_current_buffer(int64_t); 1157 void err_vim_get_current_buffer(const QString&, const QVariant&); 1158 1159 void on_vim_set_current_buffer(void); 1160 void err_vim_set_current_buffer(const QString&, const QVariant&); 1161 1162 void on_vim_get_windows(QList<int64_t>); 1163 void err_vim_get_windows(const QString&, const QVariant&); 1164 1165 void on_vim_get_current_window(int64_t); 1166 void err_vim_get_current_window(const QString&, const QVariant&); 1167 1168 void on_vim_set_current_window(void); 1169 void err_vim_set_current_window(const QString&, const QVariant&); 1170 1171 void on_vim_get_tabpages(QList<int64_t>); 1172 void err_vim_get_tabpages(const QString&, const QVariant&); 1173 1174 void on_vim_get_current_tabpage(int64_t); 1175 void err_vim_get_current_tabpage(const QString&, const QVariant&); 1176 1177 void on_vim_set_current_tabpage(void); 1178 void err_vim_set_current_tabpage(const QString&, const QVariant&); 1179 1180 void on_vim_subscribe(void); 1181 void err_vim_subscribe(const QString&, const QVariant&); 1182 1183 void on_vim_unsubscribe(void); 1184 void err_vim_unsubscribe(const QString&, const QVariant&); 1185 1186 void on_vim_name_to_color(int64_t); 1187 void err_vim_name_to_color(const QString&, const QVariant&); 1188 1189 void on_vim_get_color_map(QVariantMap); 1190 void err_vim_get_color_map(const QString&, const QVariant&); 1191 1192 void on_window_get_buffer(int64_t); 1193 void err_window_get_buffer(const QString&, const QVariant&); 1194 1195 void on_window_get_cursor(QPoint); 1196 void err_window_get_cursor(const QString&, const QVariant&); 1197 1198 void on_window_set_cursor(void); 1199 void err_window_set_cursor(const QString&, const QVariant&); 1200 1201 void on_window_get_height(int64_t); 1202 void err_window_get_height(const QString&, const QVariant&); 1203 1204 void on_window_set_height(void); 1205 void err_window_set_height(const QString&, const QVariant&); 1206 1207 void on_window_get_width(int64_t); 1208 void err_window_get_width(const QString&, const QVariant&); 1209 1210 void on_window_set_width(void); 1211 void err_window_set_width(const QString&, const QVariant&); 1212 1213 void on_window_get_var(QVariant); 1214 void err_window_get_var(const QString&, const QVariant&); 1215 1216 void on_window_get_option(QVariant); 1217 void err_window_get_option(const QString&, const QVariant&); 1218 1219 void on_window_set_option(void); 1220 void err_window_set_option(const QString&, const QVariant&); 1221 1222 void on_window_get_position(QPoint); 1223 void err_window_get_position(const QString&, const QVariant&); 1224 1225 void on_window_get_tabpage(int64_t); 1226 void err_window_get_tabpage(const QString&, const QVariant&); 1227 1228 void on_window_is_valid(bool); 1229 void err_window_is_valid(const QString&, const QVariant&); 1230 1231 }; 1232 } // namespace 1233 #endif