Syntax highlighting for Vim, inspired by the default highlighting of the bat command-line tool.
Most effort has gone into highlighting Go well. To that end, I've added special
rules which will make highlighting even nicer when vim-go
and/or
nvim-treesitter
's Go parsers are enabled.
A terminal emulator which supports true colour - see here for a list. Most modern ones do.
With Vim 8, simply:
git clone git@github.com:jamespwilliams/bat.vim.git ~/.vim/pack/plugins/start/bat.vim
Alternatively, use a package manager in the normal way.
Then add this to your .vimrc:
set termguicolors
colorscheme bat