pdbrc
This commit is contained in:
@@ -0,0 +1,36 @@
|
|||||||
|
import pdb
|
||||||
|
|
||||||
|
|
||||||
|
class Config(pdb.DefaultConfig):
|
||||||
|
editor = "e"
|
||||||
|
stdin_paste = "epaste"
|
||||||
|
filename_color = pdb.Color.lightgray
|
||||||
|
use_terminal256formatter = False
|
||||||
|
# exec_if_unfocused = "play ~/sounds/dialtone.wav 2> /dev/null &"
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
# import readline
|
||||||
|
# readline.parse_and_bind('set convert-meta on')
|
||||||
|
# readline.parse_and_bind('Meta-/: complete')
|
||||||
|
|
||||||
|
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", "cyan"),
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
def setup(self, pdb):
|
||||||
|
# make 'l' an alias to 'longlist'
|
||||||
|
Pdb = pdb.__class__
|
||||||
|
Pdb.do_l = Pdb.do_longlist
|
||||||
|
Pdb.do_st = Pdb.do_sticky
|
||||||
+1
-1
@@ -902,7 +902,7 @@ require("lazy").setup({
|
|||||||
view_search = false,
|
view_search = false,
|
||||||
},
|
},
|
||||||
popupmenu = { enabled = true },
|
popupmenu = { enabled = true },
|
||||||
notify = { enabled = true, view = "notify" },
|
notify = { enabled = true, view = "mini" },
|
||||||
lsp = {
|
lsp = {
|
||||||
override = {
|
override = {
|
||||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user