Default custom header: use * for corners
This commit is contained in:
parent
e845a3958c
commit
075423f45a
|
@ -118,7 +118,7 @@ endfunction
|
||||||
" Function: s:draw_box {{{1
|
" Function: s:draw_box {{{1
|
||||||
function! s:draw_box(lines) abort
|
function! s:draw_box(lines) abort
|
||||||
let longest_line = max(map(copy(a:lines), 'len(v:val)'))
|
let longest_line = max(map(copy(a:lines), 'len(v:val)'))
|
||||||
let topbottom = '|'. repeat('-', longest_line + 2) .'|'
|
let topbottom = '*'. repeat('-', longest_line + 2) .'*'
|
||||||
let lines = [topbottom]
|
let lines = [topbottom]
|
||||||
for l in a:lines
|
for l in a:lines
|
||||||
let offset = longest_line - len(l)
|
let offset = longest_line - len(l)
|
||||||
|
|
Loading…
Reference in a new issue