mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00
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
This commit is contained in:
@@ -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',
|
||||
},
|
||||
|
Reference in New Issue
Block a user