Update colors when displaying dot-files
This commit is contained in:
parent
b1a48a7b17
commit
77e05e3d04
|
@ -574,7 +574,9 @@ def main():
|
|||
the_code = rich_helper.fix_emoji_spacing(the_code)
|
||||
the_theme = "monokai"
|
||||
platform = sys.platform
|
||||
if "win32" in platform or "win64" in platform or "x64" in platform:
|
||||
if file_to_print.split(os.sep)[-1].startswith("."):
|
||||
the_theme = "tango"
|
||||
elif "win32" in platform or "win64" in platform or "x64" in platform:
|
||||
the_theme = "abap"
|
||||
|
||||
magic_syntax = rich_helper.process_syntax(
|
||||
|
|
Loading…
Reference in New Issue