1
0
forked from aniani/vim

patch 8.2.4648: handling LSP messages is a bit slow

Problem:    Handling LSP messages is a bit slow.
Solution:   Included support for LSP messages. (Yegappan Lakshmanan,
            closes #10025)
This commit is contained in:
Yegappan Lakshmanan
2022-03-30 10:16:05 +01:00
committed by Bram Moolenaar
parent 2bdad61267
commit 9247a221ce
9 changed files with 885 additions and 50 deletions

View File

@@ -1,6 +1,7 @@
/* json.c */
char_u *json_encode(typval_T *val, int options);
char_u *json_encode_nr_expr(int nr, typval_T *val, int options);
char_u *json_encode_lsp_msg(typval_T *val);
int json_decode(js_read_T *reader, typval_T *res, int options);
int json_find_end(js_read_T *reader, int options);
void f_js_decode(typval_T *argvars, typval_T *rettv);