mirror of
https://github.com/vim/vim.git
synced 2026-04-30 07:26:11 +02:00
runtime(vim): Update base syntax, match full :history command
closes: #18784 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
e5ab63a066
commit
8da886269a
89
runtime/syntax/testdir/input/vim_ex_history.vim
Normal file
89
runtime/syntax/testdir/input/vim_ex_history.vim
Normal file
@@ -0,0 +1,89 @@
|
||||
" Vim :history command
|
||||
" VIM_TEST_SETUP hi link vimHistoryRange Todo
|
||||
|
||||
history 1,9
|
||||
history cmd 1,9
|
||||
history : 1,9
|
||||
history search 1,9
|
||||
history / 1,9
|
||||
history ? 1,9
|
||||
history expr 1,9
|
||||
history = 1,9
|
||||
history input 1,9
|
||||
history @ 1,9
|
||||
history debug 1,9
|
||||
history > 1,9
|
||||
history all 1,9
|
||||
|
||||
history 1
|
||||
history -1
|
||||
history 1,
|
||||
history -1,
|
||||
history , 1
|
||||
history ,-1
|
||||
history 1, 1
|
||||
history 1,-1
|
||||
history -1, 1
|
||||
history -1,-1
|
||||
|
||||
history 1, 1
|
||||
history 1 ,1
|
||||
history 1 , 1
|
||||
|
||||
|
||||
" tail comments and trailing bar
|
||||
|
||||
history | echo "..."
|
||||
history " comment
|
||||
history all | echo "..."
|
||||
history all " comment
|
||||
history 1,9 | echo "..."
|
||||
history 1,9 " comment
|
||||
history all 1,9 | echo "..."
|
||||
history all 1,9 " comment
|
||||
|
||||
|
||||
def Vim9Context()
|
||||
history 1,9
|
||||
history cmd 1,9
|
||||
history : 1,9
|
||||
history search 1,9
|
||||
history / 1,9
|
||||
history ? 1,9
|
||||
history expr 1,9
|
||||
# FIXME
|
||||
# history = 1,9
|
||||
history input 1,9
|
||||
history @ 1,9
|
||||
history debug 1,9
|
||||
history > 1,9
|
||||
history all 1,9
|
||||
|
||||
history 1
|
||||
history -1
|
||||
history 1,
|
||||
history -1,
|
||||
history , 1
|
||||
history ,-1
|
||||
history 1, 1
|
||||
history 1,-1
|
||||
history -1, 1
|
||||
history -1,-1
|
||||
|
||||
history 1, 1
|
||||
history 1 ,1
|
||||
history 1 , 1
|
||||
|
||||
|
||||
# tail comments and trailing bar
|
||||
|
||||
history | echo "..."
|
||||
history # comment
|
||||
history all | echo "..."
|
||||
history all # comment
|
||||
history 1,9 | echo "..."
|
||||
history 1,9 # comment
|
||||
history all 1,9 | echo "..."
|
||||
history all 1,9 # comment
|
||||
enddef
|
||||
|
||||
Reference in New Issue
Block a user