Example of preview settings for init.vim/.vimrc to provide coloring?
- Dominant language
- Vim Script
- Stars
- 10.3k
- Forks
- 608
- Avg merge
- 5d 8h
- Merged PRs (30d)
- 2
Description
- Category
- [x ] Question
- [ ] Bug
- [ ] Suggestion
- OS
- [ ] Linux
- [ x] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [ ] Vim
- [x ] Neovim
Sorry, relatively new Vim user.
Could somebody provide an example of how to get a coloured preview?
I have `bat` installed. Can I amend this line in my init.vim to make the output coloured?
`nnoremap :FZF --preview=head\ -20\ {}`
I have tried every combination of `--color=always` and the like but no dice.
I have tried copying in the Advanced customisation https://github.com/junegunn/fzf.vim#advanced-customization but running them makes no difference.
This DOES work: https://gist.github.com/danmikita/d855174385b3059cd6bc399ad799555e
However, I wanted to get highlighting on the default FZF? What am I doing wrong?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.