Fixed pygmentize in less.
Was not working correctly with file extensions unknown to pygmenties. Added the -g option to pygmentize command.pull/604/head
parent
39022a5226
commit
35902d00d9
|
|
@ -23,6 +23,6 @@ if $(command -v pygmentize &> /dev/null) ; then
|
|||
about 'it pigments the file passed in and passes it to less for pagination'
|
||||
param '$1: the file to paginate with less'
|
||||
example 'less mysite/manage.py'
|
||||
pygmentize "$*" | "$LESS_BIN" -R
|
||||
pygmentize -g $* | "$LESS_BIN" -R
|
||||
}
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue