lib/termnote/pane/code.rb in termnote-1.5.0 vs lib/termnote/pane/code.rb in termnote-1.5.1
- old
+ new
@@ -15,10 +15,10 @@
end
private
def highlighted
- Pygments.highlight source, formatter: 'terminal256', lexer: language
+ CodeRay.scan(source, language).term
end
def gutter_width(row)
width * 0.25
end