mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
diff kitten: Fix spurious traceback on exit when pygments is missing
Fixes #863
This commit is contained in:
parent
1949f3c3d5
commit
3bd45966c6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue