Put this file into NeoVim runtimepath.
This command pretty-prints the file according to vim syntax rules and colorscheme:
nvim --headless +'runtime! catcolored.vim' +'q!' $FILENAME
Vim implementations, that do not have --headless
option would require a temp file, to output it when vim has removed the traces of its presence from the terminal.