Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

This plugin allows to print files with syntax highlighting (according to vim syntax rules and colorscheme). Applying syntax rules to a big file may be slow.

It only works with NeoVim, because --headless options is required to prevent vim from using the terminal.

Examples

bin/catcolored.sh $FILENAME — print the file with colors.

bin/catcolored.sh +'set ft=json' - — print json from stdin with colors.

Installation

Use a plugin manager:

Plug 'Vftdan/nvim-catcolored'

About

Script to print a file to terminal with syntax highlighting using NeoVim

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages