mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
[pdbrc] fix colorscheme
This commit is contained in:
parent
2a43038a48
commit
234f3da804
51
pdbrc.py
51
pdbrc.py
|
@ -1,11 +1,20 @@
|
|||
import pdb
|
||||
|
||||
from pygments.styles import get_style_by_name
|
||||
|
||||
|
||||
class Config(pdb.DefaultConfig):
|
||||
# prompt = "(Pdb++) "
|
||||
sticky_by_default = True
|
||||
pygments_formatter_class = "pygments.formatters.TerminalTrueColorFormatter"
|
||||
pygments_formatter_kwargs = {"style": "solarized-dark"}
|
||||
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"
|
||||
|
||||
|
||||
|
@ -14,41 +23,3 @@ if __name__ == "__main__":
|
|||
|
||||
all_styles = get_all_styles()
|
||||
print(list(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",
|
||||
# ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user