diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-12 16:08:22 -0700 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-12 17:04:05 -0700 |
commit | 589f612adfea22b688618fa90e011f5494ca5204 (patch) | |
tree | 05d55149f75fc76e5045ccccabf242e1955ca5fd /src/nvim/ui.c | |
parent | 44d45e29ea4a632e66ac63d25d355a5a4c7178bc (diff) | |
download | rneovim-589f612adfea22b688618fa90e011f5494ca5204.tar.gz rneovim-589f612adfea22b688618fa90e011f5494ca5204.tar.bz2 rneovim-589f612adfea22b688618fa90e011f5494ca5204.zip |
rename: UIAttach/UIDetach => UIEnter/UILeave
"enter"/"leave" is more conventional for Vim events, and
"attach"/"detach" distinction does not gain much.
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 9ff2381189..79fa8b8223 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -296,7 +296,7 @@ void ui_attach_impl(UI *ui, uint64_t chanid) bool is_compositor = (ui == uis[0]); if (!is_compositor) { - do_autocmd_uiattach(chanid, true); + do_autocmd_uienter(chanid, true); } } @@ -333,7 +333,7 @@ void ui_detach_impl(UI *ui, uint64_t chanid) ui_comp_detach(ui); } - do_autocmd_uiattach(chanid, false); + do_autocmd_uienter(chanid, false); } void ui_set_ext_option(UI *ui, UIExtension ext, bool active) |