diff --git a/mathicsscript/autoload/settings.m b/mathicsscript/autoload/settings.m index d265f4b..1e29d6b 100644 --- a/mathicsscript/autoload/settings.m +++ b/mathicsscript/autoload/settings.m @@ -13,6 +13,12 @@ " Settings`$ShowFullFormInput = False + +(* This is a workarund for a bug in mathicsscript of mathics-core. + Remove this and we get error: + Set::setraw: Cannot assign to raw object colorful. *) +Settings`$PygmentsStyle = False + Settings`$PygmentsStyle::usage = "This variable sets the Pygments style used to colorize output. The value should be a string. The default value changes background depending on whether the terminal has a light or dark background. You can also set the color style used on the command with the ``--style`` option, or look at the variable ```Settings`PygmentsStylesAvailable```. Or it can be set in the settings.m file."