prettify debug output
This commit is contained in:
parent
7ef9ef97d9
commit
c5683b1b3b
@ -553,13 +553,16 @@ endfunction
|
|||||||
|
|
||||||
" Functions -> SignifyDebugListActiveBuffers() {{{1
|
" Functions -> SignifyDebugListActiveBuffers() {{{1
|
||||||
function! SignifyDebugListActiveBuffers() abort
|
function! SignifyDebugListActiveBuffers() abort
|
||||||
if len(s:sy) == 0
|
if empty(s:sy)
|
||||||
echo 'No active buffers!'
|
echo 'No active buffers!'
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
for i in items(s:sy)
|
for [path, stats] in items(s:sy)
|
||||||
echo i
|
echo "\n". path ."\n". repeat('=', strlen(path))
|
||||||
|
for stat in sort(keys(stats))
|
||||||
|
echo printf("%20s = %s\n", stat, string(stats[stat]))
|
||||||
|
endfor
|
||||||
endfor
|
endfor
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user