New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use matchpairs for g:targets_argClosing/Opening #130
Comments
The comparison with |
That's an interesting idea. But it would change the current default to include curly braces. Also I believe the closing |
There might be good reasons to differ from True that |
My bad, now I understand that |
Here is an updated version of the above script converting let g:targets_argOpening = '['
let g:targets_argClosing = '['
let mps = split(&g:matchpairs, ',')
for mp in mps
let mpOC = split(mp, ':')
let g:targets_argOpening = g:targets_argOpening . escape(mpOC[0], ']^-\')
let g:targets_argClosing = g:targets_argClosing . escape(mpOC[1], ']^-\')
endfor
unlet mps
unlet mp
unlet mpOC
let g:targets_argOpening = g:targets_argOpening . ']'
let g:targets_argClosing = g:targets_argClosing . ']' |
How about using matchpairs to set
g:targets_argClosing/Opening
by default ? That could be achieved byThe text was updated successfully, but these errors were encountered: