junegunn / fzf.vim

fzf :heart: vim
MIT License
9.59k stars 582 forks source link

Bat Solarized (Light) Theme Not Working #1387

Open public-daniel opened 2 years ago

public-daniel commented 2 years ago

I have a bat configuration file with

--theme="Solarized (light)"

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

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

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

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?