aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-16 21:07:25 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-17 12:42:28 -0500
commit6a01b3fcc361960e559db459e1524418bc76dd66 (patch)
tree08a4c41c884ad9580292be36828317c044406dfa /src/nvim/ex_cmds.lua
parentabcd982bf0689b31d2d2464a536ea199fe4b50e7 (diff)
downloadrneovim-6a01b3fcc361960e559db459e1524418bc76dd66.tar.gz
rneovim-6a01b3fcc361960e559db459e1524418bc76dd66.tar.bz2
rneovim-6a01b3fcc361960e559db459e1524418bc76dd66.zip
vim-patch:8.2.2366: when using ":sleep" the cursor is always displayed
Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes vim/vim#7688) https://github.com/vim/vim/commit/e2edc2ed4a9a229870b1e1811b0ecf045b84e429 Cursor showing/hiding is moved from core to TUI. ":sleep!" behaves the same as ":sleep".
Diffstat (limited to 'src/nvim/ex_cmds.lua')
-rw-r--r--src/nvim/ex_cmds.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua
index 069d5d461b..e9046da800 100644
--- a/src/nvim/ex_cmds.lua
+++ b/src/nvim/ex_cmds.lua
@@ -2455,7 +2455,7 @@ module.cmds = {
},
{
command='sleep',
- flags=bit.bor(RANGE, COUNT, EXTRA, TRLBAR, CMDWIN),
+ flags=bit.bor(BANG, RANGE, COUNT, EXTRA, TRLBAR, CMDWIN),
addr_type='ADDR_OTHER',
func='ex_sleep',
},