Skip to content

Commit

Permalink
fix(autocmd): clean up autocmds only when needed (#17593)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtomjhj committed Mar 4, 2022
1 parent e23af71 commit d5bd7ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/nvim/autocmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ void aupat_del_for_event_and_group(event_T event, int group)
}
}

au_need_clean = true;
au_cleanup(); // may really delete removed patterns/commands now
}

Expand Down

0 comments on commit d5bd7ff

Please sign in to comment.