Use copy instead of deepcopy for delim object

This commit is contained in:
Andy K. Massimino
2018-07-21 16:07:15 -04:00
parent 849c481c70
commit b0d2b68144

View File

@@ -79,7 +79,9 @@ function! matchup#delim#get_matching(delim, ...) " {{{1
let [l:match, l:lnum, l:cnum] = l:matches[l:i]
let l:matching = deepcopy(a:delim)
let l:matching = copy(a:delim)
let l:matching.class = copy(a:delim.class)
let l:matching.lnum = l:lnum
let l:matching.cnum = l:cnum
let l:matching.match = l:match