mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
diff: Add a option for pygments style
This commit is contained in:
@@ -242,7 +242,7 @@ class DiffHandler(Handler):
|
||||
self.draw_screen()
|
||||
if initialize_highlighter is not None and not self.highlighting_done:
|
||||
self.highlighting_done = True
|
||||
initialize_highlighter()
|
||||
initialize_highlighter(self.opts.pygments_style)
|
||||
self.start_job('highlight', highlight_collection, self.collection, self.opts.syntax_aliases)
|
||||
elif job_id == 'highlight':
|
||||
hdata = job_result['result']
|
||||
|
||||
Reference in New Issue
Block a user