tokyonight.nvim
tokyonight.nvim copied to clipboard
Add support for fzf
It will be great if tokyonight support fzf. This is a snippet that I have used for highlighting fzf with the edge theme. I guess it would help.
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#c5cdd9,bg:#262729,hl:#6cb6eb
--color=fg+:#c5cdd9,bg+:#262729,hl+:#5dbbc1
--color=info:#88909f,prompt:#ec7279,pointer:#d38aea
--color=marker:#a0c980,spinner:#ec7279,header:#5dbbc1'
Attempting with the color of toykonight(Dark):
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
--color=fg:#c0caf5,bg:#1a1b26,hl:#bb9af7
--color=fg+:#c0caf5,bg+:#1a1b26,hl+:#7dcfff
--color=info:#7aa2f7,prompt:#7dcfff,pointer:#7dcfff
--color=marker:#9ece6a,spinner:#9ece6a,header:#9ece6a'
That would be cool indeed. We actually have a fairly simple template system under lua/toyonight/extra that can be used to generate the templates for every style. If you'd like to make a PR, that would be great. Otherwise I can have a look at it in a couple of days. Thank you for the suggestion!
Thats cool. I will take a look at this repo again and see if I can understand that system. Thanks!
I just made some small changes to simplify the template system a bit and also added documentation on how to use it to make contributions: https://github.com/folke/tokyonight.nvim#-contributing
You can refer to this example on how to write a simple template
a tiny modification
fg+:#FFFFFF
Hi @winston0410 , was this contribution incorporated as a PR? Thanks
Hi @folke . I'm interested in contributing a PR to document fzf colors, but it looks like I'm not generating the proper files via :lua require("tokyonight.extra").setup()
. I've made sure to add an entry of fzf = "sh"
in the extras
table of lua/tokyonight/extra/init.lua
. Judging from other extras-related PRs, a new directory with generated .sh
files should be created, right? Or maybe I'm misunderstanding the process. Thanks.
I've submitted a PR to support this https://github.com/folke/tokyonight.nvim/pull/464
Fixed by https://github.com/folke/tokyonight.nvim/pull/464