fix(rpc): break nvim_error_event feedback loop between two nvim instances

In case nvim A sends nvim_error_event to nvim B, it would
respond with another nvim_error_event due to unknown
request name. Fix this by adding dummy request handler for now.
This commit is contained in:
bfredl
2022-07-09 14:48:09 +02:00
parent 0b63f5afad
commit f87c824513
3 changed files with 12 additions and 3 deletions

View File

@@ -947,7 +947,8 @@ def fmt_doxygen_xml_as_vimhelp(filename, target):
func_doc = "\n".join(split_lines)
if name.startswith(CONFIG[target]['fn_name_prefix']):
if (name.startswith(CONFIG[target]['fn_name_prefix'])
and name != "nvim_error_event"):
fns_txt[name] = func_doc
return ('\n\n'.join(list(fns_txt.values())),