-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.pdbrc.py
22 lines (20 loc) · 861 Bytes
/
.pdbrc.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import pdb
class Config(pdb.DefaultConfig):
sticky_by_default = True
editor = "vim"
# pygments_formatter_class = "pygments.formatters.TerminalTrueColorFormatter"
# pygments_formatter_kwargs = {"style": "solarized-light"}
def __init__(self):
try:
from pygments.formatters import terminal
except ImportError:
pass
else:
self.colorscheme = terminal.TERMINAL_COLORS.copy()
self.colorscheme.update({
terminal.Keyword: ('darkred', 'red'),
terminal.Number: ('darkyellow', 'yellow'),
terminal.String: ('brown', 'green'),
terminal.Name.Function: ('darkgreen', 'blue'),
terminal.Name.Namespace: ('teal', 'white'),
})