diff --git a/doc_src/interactive.rst b/doc_src/interactive.rst index ddb0f8652..3cc05593b 100644 --- a/doc_src/interactive.rst +++ b/doc_src/interactive.rst @@ -89,7 +89,13 @@ Or, to see all themes, right in your terminal:: Syntax highlighting variables ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -The colors used by fish for syntax highlighting can be configured by changing the values of various variables. The value of these variables can be one of the colors accepted by the :doc:`set_color ` command. The modifier switches accepted by ``set_color`` like ``--bold``, ``--dim``, ``--italics``, ``--reverse`` and ``--underline`` are also accepted. +The colors used by fish for syntax highlighting can be configured by changing the values of various variables. The value of these variables can be one of the colors accepted by the :doc:`set_color ` command. +The modifier switches accepted by ``set_color`` like +``--bold``, +``--dim``, +``--italics``, +``--reverse`` and +``--underline`` are also accepted. Example: to make errors highlighted and red, use:: diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index 2953f9a97..8b0d9c11d 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -227,7 +227,11 @@ def parse_color(color_str): comps = color_str.split(" ") color = "" background_color = "" - bold, underline, italics, dim, reverse = False, False, False, False, False + bold = False + underline = False + italics = False + dim = False + reverse = False i = 0 while i < len(comps): comp = comps[i]