Re-arranged nvim packages

Made them have a bit of a more logical strucutre.
This commit is contained in:
Gabe Venberg 2022-01-21 18:35:32 -06:00
parent 6ac0abba12
commit e6a8b67e6e
2 changed files with 86 additions and 71 deletions

View file

@ -1,9 +0,0 @@
"TODO: cleanup this function!
function! Minimal_foldtext()
let lines_count = v:foldend - v:foldstart + 1
let lines_count_text = '+' . v:folddashes . '| ' . printf("%10S" , lines_count) . ' lines |'
let line_level_text = '| ' . printf("%8S" , 'level ' . v:foldlevel) . ' |'
let fold_text_end = line_level_text . repeat('-',8)
let fold_text_length = strlen(lines_count_text . fold_text_end) + &foldcolumn
return lines_count_text . repeat('-' , winwidth(0) - fold_text_length - 4) . fold_text_end
endfunction