junegunn / junegunn/fzf.vim

Bat Solarized (Light) Theme Not Working

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

Description

- [x ] I have fzf 0.30.0 or above
- [ x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [x ] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [ x] I have read through the manual page of fzf (`man fzf`)
- [ x] I have searched through the existing issues

I have a bat configuration file with
```sh
--theme="Solarized (light)"
```

When I run `:Files` in vim, I get a warning

```sh
[bat warning]: Unknown theme 'Solarized (light)', using default.
```

If I run this command in terminal, no warning and it uses the right theme.

```sh
fzf --preview 'bat --color=always {}'
```

If i update bat config file to use a different theme (like TwoDark) then it picks it up in fzf.vim and everything looks fine.

Any ideas what's going on? Maybe issues parsing the theme with space / parenthesis?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.