Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitespace follows filenames #300

Closed
3 of 9 tasks
alexanderkron opened this issue Feb 1, 2017 · 6 comments
Closed
3 of 9 tasks

Whitespace follows filenames #300

alexanderkron opened this issue Feb 1, 2017 · 6 comments

Comments

@alexanderkron
Copy link

  • Category
    • Question
    • Bug
    • Suggestion
  • OS
    • Linux
    • macOS
    • Windows
    • Etc.
  • Vim
    • Vim
    • Neovim

Filenames are followed by whitespace that fills the remainder of the line. If vim is set to highlight trailing whitespace this looks not great and is slightly annoying.

image

@junegunn
Copy link
Owner

junegunn commented Feb 2, 2017

I'm confused, is it Vim or Neovim?

@alexanderkron
Copy link
Author

This is in Vim with

" show trailing whitespace
match ErrorMsg '\s\+$'

in my .vimrc

@junegunn
Copy link
Owner

junegunn commented Feb 2, 2017

FZF draws outside Vim window and the highlighting rules of Vim do not apply.

Try this. If you see the same problem, then it confirms that it's not an issue of fzf.

:call system('seq 10 > /dev/tty; sleep 2') | redraw!

@alexanderkron
Copy link
Author

Hm, yeah this doesn't seem to be a FZF problem. Sorry!

junegunn added a commit to junegunn/fzf that referenced this issue Mar 1, 2017
This is needed when fzf is started from inside a program (e.g. Vim)
and it uses a different background color than the terminal.

- junegunn/fzf.vim#325
- junegunn/fzf.vim#300
@junegunn
Copy link
Owner

junegunn commented Mar 1, 2017

Hi, junegunn/fzf@c89ac34 might fix your problem.

@danishprakash
Copy link

FZF draws outside Vim window and the highlighting rules of Vim do not apply.

Hi, I know this issue is 7 years old but is this still the case? I see the above issue with a particular theme that highlights ErrorMsg but not others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants