Unify the way to get marker_char from marker_chars
This commit is contained in:
parent
1f065ea5fa
commit
b4d3ac9eac
@ -917,7 +917,7 @@ function! s:PromptUser(groups) "{{{
|
|||||||
let substitute_expr = i == 0
|
let substitute_expr = i == 0
|
||||||
\ ? marker_chars_first .
|
\ ? marker_chars_first .
|
||||||
\ repeat(' ', target_char_disp_len - 1)
|
\ repeat(' ', target_char_disp_len - 1)
|
||||||
\ : matchstr(marker_chars, '^.\zs.')
|
\ : split(marker_chars, '\zs')[i]
|
||||||
|
|
||||||
let lines[line_num]['marker'] = substitute(
|
let lines[line_num]['marker'] = substitute(
|
||||||
\ lines[line_num]['marker'],
|
\ lines[line_num]['marker'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user