position of the syntax highlighting in the floating window is always offset
Open
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 10.3k
- Forks
- 608
- Avg merge
- 5d 8h
- Merged PRs (30d)
- 2
Description
- I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- I have read through the manual page of fzf (
man fzf) - I have searched through the existing issues

The character position of the syntax highlighting in the floating window is always offset by 1 character.
The error is shown in the above picture, who can fix it, thanks
@blueyed @patheticpat @andreypopp @joshpencheon @mbudde
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked fzf.vim and fzf README files, then reproduce the floating-window syntax-highlighting behavior shown in the issue image. Trace where the displayed character position is calculated and verify that the highlighting aligns with the text without the one-character offset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- neovim, vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100