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:
25
runtime/syntax/testdir/input/vim_ex_abbreviate.vim
Normal file
25
runtime/syntax/testdir/input/vim_ex_abbreviate.vim
Normal 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>
|
21
runtime/syntax/testdir/input/vim_ex_map.vim
Normal file
21
runtime/syntax/testdir/input/vim_ex_map.vim
Normal 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>
|
@@ -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')
|
Reference in New Issue
Block a user