junegunn / junegunn/fzf.vim

position of the syntax highlighting in the floating window is always offset

Open
#1,096 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.