Skip to content

Vim colour scheme based on the bat command-line tool

License

Notifications You must be signed in to change notification settings

jamespwilliams/bat.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bat.vim

Syntax highlighting for Vim, inspired by the default highlighting of the bat command-line tool.

Example of Bat highlighting a Go file

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.

Requirements

A terminal emulator which supports true colour - see here for a list. Most modern ones do.

Installation

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

About

Vim colour scheme based on the bat command-line tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published