jrunning / source-highlight-solarized

Solarized .style and .outlang files for GNU source-highlight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

source-highlight: could not find a language definition for esc-solarized

vinylplz opened this issue · comments

To fix the above error, I needed to edit the outlang.map file in the source-highlight data directory. Just add a line:

esc-solarized = esc-solarized.outlang

You can verify it works by running source-highlight --outlang-list

This worked for me

Alternatively, specify --outlang-def when defining LESSOPEN in ~/.bashrc.

export LESSOPEN="| source-highlight -f esc-solarized  --style-file=esc-solarized.style --outlang-def=esc-solarized.outlang -i %s -o STDOUT"