tomasiser / vim-code-dark

Dark color scheme for Vim and vim-airline, inspired by Dark+ in Visual Studio Code
MIT License
954 stars 180 forks source link

Feature Request: theme for bat #66

Open ocraft opened 4 years ago

ocraft commented 4 years ago

It would be great if the codedark theme was also available for bat https://github.com/sharkdp/bat#adding-new-themes. This tool is often used to syntax coloring in fzf.vim.

David-Else commented 3 years ago

https://github.com/sharkdp/bat/pull/1598 should be merged soon and is very similar.

towc commented 3 years ago

that's been merged, you can enable it via $BAT_THEME='Visual Studio Dark+' after updating bat. Interestingly, the bat version looks different (vim on left, bat on right, on a TypeScript file):

image

David-Else commented 3 years ago

@towc I have been using it for a while. If you use Neovim treesitter vim-code-dark looks a bit better/different, and they both look a little different to VS Code. I think the Bat theme looks close enough that it doesn't jump out as annoying.

I think when https://github.com/neovim/neovim/pull/14122 is merged we could get closer to VS Code, I think they use semantic tokens for certain TypeScript syntax... but I might be mistaken!