0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

runtime(vim): Update base-syntax, fix :unabbrev highlighting (#14077)

Fixes issue #7876

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
dkearns
2024-02-23 05:45:05 +11:00
committed by GitHub
parent 20d61e1b94
commit 1624970d32
13 changed files with 164 additions and 65 deletions

View File

@@ -0,0 +1,25 @@
" Vim :abbreviate commands
abbrev <buffer> foo foobar
cabbrev <buffer> cfoo cfoobar
iabbrev <buffer> ifoo cfoobar
abbrev <expr> <buffer> foo foobar
cabbrev <expr> <buffer> cfoo cfoobar
iabbrev <expr> <buffer> ifoo cfoobar
noreabbrev <buffer> foo foobar
cnoreabbrev <buffer> cfoo cfoobar
inoreabbrev <buffer> ifoo cfoobar
abbrev <expr> <buffer> foo foobar
cabbrev <expr> <buffer> cfoo cfoobar
iabbrev <expr> <buffer> ifoo cfoobar
unabbrev <buffer> foo
cunabbrev <buffer> cfoo
iunabbrev <buffer> ifoo
abclear <buffer>
cabclear <buffer>
iabclear <buffer>

View File

@@ -0,0 +1,21 @@
" Vim :map commands
map!
map! lhs rhs
map
map lhs rhs
call map(list, 'v:val')
call map (list, 'v:val')
mapclear <buffer>
mapclear! <buffer>
nmapclear <buffer>
vmapclear <buffer>
xmapclear <buffer>
smapclear <buffer>
omapclear <buffer>
imapclear <buffer>
lmapclear <buffer>
cmapclear <buffer>
tmapclear <buffer>

View File

@@ -1,9 +0,0 @@
" Vim map commands
map!
map! lhs rhs
map
map lhs rhs
call map(list, 'v:val')
call map (list, 'v:val')