aboutsummaryrefslogtreecommitdiff
path: root/scripts/genvimvim.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-06-15 09:20:32 +0200
committerGitHub <noreply@github.com>2022-06-15 09:20:32 +0200
commit504d7decbdef55d58e62217a0a54cbee2a0944cc (patch)
tree09922dd511d071bdde73df146eca5bda4741c759 /scripts/genvimvim.lua
parent1493efdc141f0bc0a472b60f87927b3d5ab59f5e (diff)
downloadrneovim-504d7decbdef55d58e62217a0a54cbee2a0944cc.tar.gz
rneovim-504d7decbdef55d58e62217a0a54cbee2a0944cc.tar.bz2
rneovim-504d7decbdef55d58e62217a0a54cbee2a0944cc.zip
vim-patch:8c1b8cb2e0b5 (#18966)
Update runtime files https://github.com/vim/vim/commit/8c1b8cb2e0b52d0853f85c2096a2f22dbc57a788
Diffstat (limited to 'scripts/genvimvim.lua')
-rw-r--r--scripts/genvimvim.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/genvimvim.lua b/scripts/genvimvim.lua
index 7e9d649cb4..868084a583 100644
--- a/scripts/genvimvim.lua
+++ b/scripts/genvimvim.lua
@@ -44,12 +44,13 @@ local function cmd_kw(prev_cmd, cmd)
end
-- Exclude these from the vimCommand keyword list, they are handled specially
--- in syntax/vim.vim (vimAugroupKey, vimAutoCmd, vimSubst). #9327
+-- in syntax/vim.vim (vimAugroupKey, vimAutoCmd, vimGlobal, vimSubst). #9327
local function is_special_cased_cmd(cmd)
return (cmd == 'augroup'
or cmd == 'autocmd'
or cmd == 'doautocmd'
or cmd == 'doautoall'
+ or cmd == 'global'
or cmd == 'substitute')
end