Unify the way to get marker_char from marker_chars

This commit is contained in:
haya14busa 2014-02-20 05:53:00 +09:00
parent 1f065ea5fa
commit b4d3ac9eac

View File

@ -917,7 +917,7 @@ function! s:PromptUser(groups) "{{{
let substitute_expr = i == 0
\ ? marker_chars_first .
\ repeat(' ', target_char_disp_len - 1)
\ : matchstr(marker_chars, '^.\zs.')
\ : split(marker_chars, '\zs')[i]
let lines[line_num]['marker'] = substitute(
\ lines[line_num]['marker'],