Default custom header: use * for corners

This commit is contained in:
Marco Hinz 2016-03-14 17:29:08 +01:00
parent e845a3958c
commit 075423f45a

View file

@ -118,7 +118,7 @@ endfunction
" Function: s:draw_box {{{1
function! s:draw_box(lines) abort
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]
for l in a:lines
let offset = longest_line - len(l)