fix(autocmds): change aucmd restoration

This commit is contained in:
Felipe Scherer 2024-07-03 14:58:33 -03:00
parent 60b09b155c
commit e515d043ed

View File

@ -2116,7 +2116,7 @@ char *getnextac(int c, void *cookie, int indent, bool do_concat)
oneshot = true;
}
ac->pat = ac_copy.pat; // Restore aucmd reference
kv_A(*acs, apc->auidx).pat = ac_copy.pat; // Restore aucmd reference
// TODO(tjdevries):
//