fix(autocmds): separate command from desc (#18617)

This commit is contained in:
kylo252
2022-05-21 15:55:48 +02:00
committed by GitHub
parent 976f32aa7a
commit 55246d44f9
3 changed files with 81 additions and 45 deletions

View File

@@ -283,7 +283,7 @@ Array nvim_get_autocmds(Dict(get_autocmds) *opts, Error *err)
PUT(autocmd_info,
"command",
STRING_OBJ(cstr_to_string(aucmd_exec_to_string(ac, ac->exec))));
STRING_OBJ(cstr_as_string(aucmd_exec_to_string(ac, ac->exec))));
PUT(autocmd_info,
"pattern",