1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 20:10:06 +08:00
SpaceVim/bundle/vim-matchup/test/issues/10/legacy.vim

33 lines
466 B
VimL
Raw Normal View History

2020-06-13 14:06:35 +08:00
if "(foo)"
let x = "(foo)"
endif
( )
let x = ( "( )" )
let y = "("
\ . ")"
"("
)
\ . ")"
let z = ( '( ' ) . ' )'
let a = " if endif "
*cpo-M*
M When excluded, "%" matching will take backslashes into
account. Thus in "( \( )" and "\( ( \)" the outer
parenthesis match. When included "%" ignores
backslashes, which is Vi compatible.
let b = '\( \)'
let c = "\\( \\)"
let d = "( \\( )" . "\\( " . '\( \)' . "\\)"