diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-03-22 10:59:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 10:59:38 +0100 |
commit | c45b5e2c5b0f02742099ebccc44462fe4203e99c (patch) | |
tree | 13811fb22e65a99413aa5373c41e8c77d99ca779 /src/nvim/cmdexpand.c | |
parent | 48ce2ef912cbbe43b85b45a8a97f8d240318718a (diff) | |
parent | a92b38934a2d00c13ee4d1969d994da15e0857ab (diff) | |
download | rneovim-c45b5e2c5b0f02742099ebccc44462fe4203e99c.tar.gz rneovim-c45b5e2c5b0f02742099ebccc44462fe4203e99c.tar.bz2 rneovim-c45b5e2c5b0f02742099ebccc44462fe4203e99c.zip |
Merge pull request #22743 from bfredl/luaequals
feat(lua): allow `:=expr` as a shorter version of `:lua =expr`
Diffstat (limited to 'src/nvim/cmdexpand.c')
-rw-r--r-- | src/nvim/cmdexpand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c index 220cb4cf93..bce28fa449 100644 --- a/src/nvim/cmdexpand.c +++ b/src/nvim/cmdexpand.c @@ -2141,6 +2141,7 @@ static const char *set_context_by_cmdname(const char *cmd, cmdidx_T cmdidx, expa return set_context_in_scriptnames_cmd(xp, arg); case CMD_lua: + case CMD_equal: xp->xp_context = EXPAND_LUA; break; |