From 9021574c2932a302a2198395a75309d54ea94c41 Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 19 Feb 2021 08:48:52 +0100 Subject: [PATCH] pdbprc: minor improvements --- pdbrc.py | 89 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 45 insertions(+), 44 deletions(-) diff --git a/pdbrc.py b/pdbrc.py index 0e30af9..8848897 100644 --- a/pdbrc.py +++ b/pdbrc.py @@ -1,49 +1,5 @@ import pdb -if False: - from pygments.styles import get_all_styles - - all_styles = get_all_styles() - - all_styles = [ - "default", - "emacs", - "friendly", - "colorful", - "autumn", - "murphy", - "manni", - "monokai", - "perldoc", - "pastie", - "borland", - "trac", - "native", - "fruity", - "bw", - "vim", - "vs", - "tango", - "rrt", - "xcode", - "igor", - "paraiso-light", - "paraiso-dark", - "lovelace", - "algol", - "algol_nu", - "arduino", - "rainbow_dash", - "abap", - "solarized-dark", - "solarized-light", - "sas", - "stata", - "stata-light", - "stata-dark", - "inkpot", - ] - class Config(pdb.DefaultConfig): sticky_by_default = True @@ -51,3 +7,48 @@ class Config(pdb.DefaultConfig): pygments_formatter_kwargs = {"style": "solarized-dark"} use_pygments = True editor = "vim" + + +if __name__ == "__main__": + from pygments.styles import get_all_styles + + all_styles = get_all_styles() + print(list(all_styles)) + # all_styles = [ + # "default", + # "emacs", + # "friendly", + # "colorful", + # "autumn", + # "murphy", + # "manni", + # "monokai", + # "perldoc", + # "pastie", + # "borland", + # "trac", + # "native", + # "fruity", + # "bw", + # "vim", + # "vs", + # "tango", + # "rrt", + # "xcode", + # "igor", + # "paraiso-light", + # "paraiso-dark", + # "lovelace", + # "algol", + # "algol_nu", + # "arduino", + # "rainbow_dash", + # "abap", + # "solarized-dark", + # "solarized-light", + # "sas", + # "stata", + # "stata-light", + # "stata-dark", + # "inkpot", + # ]