mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -05:00
runtime(vim): Update base syntax, match :prompt command args
closes: #18732 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
89f0a3a574
commit
4f19d2768a
46
runtime/syntax/testdir/input/vim_ex_prompt_commands.vim
Normal file
46
runtime/syntax/testdir/input/vim_ex_prompt_commands.vim
Normal file
@@ -0,0 +1,46 @@
|
||||
" Vim :prompt{find,repl} commands
|
||||
|
||||
|
||||
promptfind foo
|
||||
promptrepl foo
|
||||
|
||||
promptfind a
|
||||
\ really
|
||||
\ long
|
||||
\ search
|
||||
\ string
|
||||
promptrepl a
|
||||
\ really
|
||||
\ long
|
||||
\ search
|
||||
\ string
|
||||
|
||||
|
||||
" no tail comment or trailing bar
|
||||
|
||||
promptfind foo " more search string
|
||||
promptfind foo | more search string
|
||||
|
||||
|
||||
def Vim9Context()
|
||||
promptfind foo
|
||||
promptrepl foo
|
||||
|
||||
promptfind a
|
||||
\ really
|
||||
\ long
|
||||
\ search
|
||||
\ string
|
||||
promptrepl a
|
||||
\ really
|
||||
\ long
|
||||
\ search
|
||||
\ string
|
||||
|
||||
|
||||
# no tail comment or trailing bar
|
||||
|
||||
promptfind foo # more search string
|
||||
promptfind foo | more search string
|
||||
enddef
|
||||
|
||||
Reference in New Issue
Block a user