aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2024-01-27 02:00:50 +0100
committerGitHub <noreply@github.com>2024-01-26 17:00:50 -0800
commitc2433589dca022a7f40cdcbd0cd1ad8aba6ee4a9 (patch)
tree4ec42e5d42d7c0bb5e674af2e94e1fe3eac2c837 /src/nvim/ex_cmds.lua
parent0892c080d16776366a2fe289f9083cdc532ec56c (diff)
downloadrneovim-c2433589dca022a7f40cdcbd0cd1ad8aba6ee4a9.tar.gz
rneovim-c2433589dca022a7f40cdcbd0cd1ad8aba6ee4a9.tar.bz2
rneovim-c2433589dca022a7f40cdcbd0cd1ad8aba6ee4a9.zip
feat(ex_cmds): ranged :lua #27167
:{range}lua executes the specified lines in the current buffer as Lua code, regardless of its extension or 'filetype'. Close #27103
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 551d228862..1318eda5eb 100644
--- a/src/nvim/ex_cmds.lua
+++ b/src/nvim/ex_cmds.lua
@@ -1612,7 +1612,7 @@ module.cmds = {
},
{
command = 'lua',
- flags = bit.bor(RANGE, EXTRA, NEEDARG, CMDWIN, LOCK_OK),
+ flags = bit.bor(RANGE, EXTRA, CMDWIN, LOCK_OK),
addr_type = 'ADDR_LINES',
func = 'ex_lua',
},