1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 11:01:31 +01:00

pdbrc: simplify for bretello/pdbpp version

https://github.com/bretello/pdbpp
This commit is contained in:
bretello 2023-12-21 16:12:51 +01:00
parent 439f29318c
commit 353378af8c
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -11,16 +11,9 @@ else:
class Config(pdb.DefaultConfig): class Config(pdb.DefaultConfig):
# prompt = "(Pdb++) " # prompt = "(Pdb++) "
skip = ["dvc.stage.decorators.*", "funcy.*"]
sticky_by_default = True
use_pygments = True use_pygments = True
if pdb.__version__.version.startswith("0.10.4."): pygments_formatter_class = "pygments.formatters.TerminalTrueColorFormatter"
pygments_formatter_class = "pygments.formatters.TerminalTrueColorFormatter" pygments_formatter_kwargs = {"style": get_style_by_name(pygments_style)}
pygments_formatter_kwargs = {"style": get_style_by_name(pygments_style)}
else:
from pygments.formatters import TerminalTrueColorFormatter
formatter = TerminalTrueColorFormatter(style=get_style_by_name(pygments_style))
editor = "vim" editor = "vim"