From cfcf80dea4b0b3af3a1dde7af03dc467b5f0a586 Mon Sep 17 00:00:00 2001 From: bretello Date: Sun, 14 Jun 2020 17:23:01 +0200 Subject: [PATCH] pdbrc: add style options --- pdbrc.py | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/pdbrc.py b/pdbrc.py index 78f6d9d..0e30af9 100644 --- a/pdbrc.py +++ b/pdbrc.py @@ -1,4 +1,53 @@ 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 + sticky_by_default = True + pygments_formatter_class = "pygments.formatters.TerminalTrueColorFormatter" + pygments_formatter_kwargs = {"style": "solarized-dark"} + use_pygments = True + editor = "vim"