aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/auevents.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-12 16:08:22 -0700
committerJustin M. Keyes <justinkz@gmail.com>2019-09-12 17:04:05 -0700
commit589f612adfea22b688618fa90e011f5494ca5204 (patch)
tree05d55149f75fc76e5045ccccabf242e1955ca5fd /src/nvim/auevents.lua
parent44d45e29ea4a632e66ac63d25d355a5a4c7178bc (diff)
downloadrneovim-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/auevents.lua')
-rw-r--r--src/nvim/auevents.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/auevents.lua b/src/nvim/auevents.lua
index 1505b984ad..c808af37b1 100644
--- a/src/nvim/auevents.lua
+++ b/src/nvim/auevents.lua
@@ -96,8 +96,8 @@ return {
'TextChangedI', -- text was modified in Insert mode(no popup)
'TextChangedP', -- text was modified in Insert mode(popup)
'TextYankPost', -- after a yank or delete was done (y, d, c)
- 'UIAttach', -- after a UI attached
- 'UIDetach', -- after a UI detaches
+ 'UIEnter', -- after UI attaches
+ 'UILeave', -- after UI detaches
'User', -- user defined autocommand
'VimEnter', -- after starting Vim
'VimLeave', -- before exiting Vim
@@ -125,7 +125,7 @@ return {
TabNewEntered=true,
TermClose=true,
TermOpen=true,
- UIAttach=true,
- UIDetach=true,
+ UIEnter=true,
+ UILeave=true,
},
}