Modificator / bat.vim

Vim syntax highlighting based on the bat CLI tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bat.vim

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

Example of Bat highlighting a Go file

As well as an appealing base theme, this syntax highlighting file has support for the more specific syntax defined by the following plugins:

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 syntax highlighting based on the bat CLI tool


Languages

Language:Vim Script 100.0%