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:
parent
439f29318c
commit
353378af8c
7
pdbrc.py
7
pdbrc.py
|
@ -11,16 +11,9 @@ else:
|
|||
|
||||
class Config(pdb.DefaultConfig):
|
||||
# prompt = "(Pdb++) "
|
||||
skip = ["dvc.stage.decorators.*", "funcy.*"]
|
||||
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(pygments_style)}
|
||||
else:
|
||||
from pygments.formatters import TerminalTrueColorFormatter
|
||||
|
||||
formatter = TerminalTrueColorFormatter(style=get_style_by_name(pygments_style))
|
||||
|
||||
editor = "vim"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user