junegunn / junegunn/fzf.vim

Coloring and spaces of the ":Buffers" command

Open
#1,579 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

### Checklist

- [X] I have fzf 0.54.0 or later
- [X] I have searched through the existing issues

### Output of `:echo system(fzf#exec() .. ' --version')`

0.57.0 (0476a65)

### OS

- [X] Linux
- [ ] macOS
- [ ] Windows
- [ ] Etc.

### Problem / Steps to reproduce

Just wanted to ask about the coloring (and the 2 spaces) of the `:Buffers` command, specifically how it applies them to the current buffer on top. I've modified `fzf#vim#_format_buffer(b)` in the `fzf.vim/autoload/fzf/vim.vim` to my liking, but I can't find this cyan coloring and spacing anywhere. I tried changing all of the `let s:ansi` to the same number, but it had no effect.
![image](https://github.com/user-attachments/assets/344597c7-1f3a-4bee-b1db-76d97a4d7177)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in fzf.vim/autoload/fzf/vim.vim, including fzf#vim#_format_buffer(b), and trace how the :Buffers output applies coloring and spacing to the current buffer. Compare the formatting path with the displayed result and document or correct the behavior so the intended coloring and spacing are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.