mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
diff kitten: Fix spurious traceback on exit when pygments is missing
Fixes #863
This commit is contained in:
@@ -32,7 +32,7 @@ from .search import BadRegex, Search
|
||||
try:
|
||||
from .highlight import initialize_highlighter, highlight_collection
|
||||
except ImportError:
|
||||
initialize_highlighter = None
|
||||
initialize_highlighter = highlight_collection = None
|
||||
|
||||
|
||||
INITIALIZING, COLLECTED, DIFFED, COMMAND, MESSAGE = range(5)
|
||||
|
||||
Reference in New Issue
Block a user