mirror of
https://github.com/vim/vim.git
synced 2026-04-30 23:51:40 +02:00
runtime(vim): Cleanup syntax tests
Improve formatting and naming consistency of the syntax tests. closes: #17850 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
e9d1259111
commit
cced80dcbb
@@ -1,5 +1,6 @@
|
||||
" Vim :catch command
|
||||
|
||||
|
||||
" :help :catch
|
||||
|
||||
catch /^Vim:Interrupt$/ " catch interrupts (CTRL-C)
|
||||
@@ -15,3 +16,4 @@ catch " same as /.*/
|
||||
|
||||
try | sleep 100 | catch /^Vim:Interrupt$/ | endtry
|
||||
try | edit | catch /^Vim(edit):E\d\+/ | echo "error" | endtry
|
||||
|
||||
|
||||
Reference in New Issue
Block a user