1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-18 09:41:31 +01:00
dotfiles/pdbrc.py
2021-10-23 15:19:48 +02:00

26 lines
716 B
Python

import pdb
from pygments.styles import get_style_by_name
class Config(pdb.DefaultConfig):
# prompt = "(Pdb++) "
sticky_by_default = True
use_pygments = True
if pdb.__version__.version.startswith("0.10.4."):
pygments_formatter_class = "pygments.formatters.TerminalTrueColorFormatter"
pygments_formatter_kwargs = {"style": get_style_by_name("gruvbox-dark")}
else:
from pygments.formatters import TerminalTrueColorFormatter
formatter = TerminalTrueColorFormatter(style=get_style_by_name("gruvbox-dark"))
editor = "vim"
if __name__ == "__main__":
from pygments.styles import get_all_styles
all_styles = get_all_styles()
print(list(all_styles))