From 711a6a915767a97300aba76fb9d79b9784bc76ce Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 16 Jul 2022 14:54:31 +0800 Subject: fix(ex_cmds): correct flags for :const (#19387) --- src/nvim/ex_cmds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index 2bf867c32c..8c8cde8be3 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -631,7 +631,7 @@ module.cmds = { }, { command='const', - flags=bit.bor(NEEDARG, EXTRA, NOTRLCOM, CMDWIN), + flags=bit.bor(EXTRA, NOTRLCOM, SBOXOK, CMDWIN), addr_type='ADDR_NONE', func='ex_const', }, -- cgit