Update 2024-09-27 11:27 Linux/x86_64-ld5587

This commit is contained in:
c0dev0id
2024-09-27 11:27:50 +02:00
parent c8beb061e5
commit 6f6ae09c01
9 changed files with 387 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
" pins the active buffer to a specific index in the list
function! bufferline#algos#fixed_position#modify(names)
let current = bufnr('%')
while a:names[g:bufferline_fixed_index][0] != current
let first = remove(a:names, 0)
call add(a:names, first)
endwhile
endfunction