X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/9cf75a93135e69a4c49f6c3cf70c3d36097999f5..9ddf986ba430c89b85deb446071dafe2a349727a:/dot/ipython-config.py diff --git a/dot/ipython-config.py b/dot/ipython-config.py index 1555bba..9db7f6b 100644 --- a/dot/ipython-config.py +++ b/dot/ipython-config.py @@ -1,6 +1,8 @@ ### -*-python -*- import pygments as PYG +import prompt_toolkit as PTK + c = get_config() ## Simple stuff. @@ -42,5 +44,8 @@ c.TerminalInteractiveShell.highlighting_style_overrides = { T.Name.Variable.Magic: '#fff', T.Operator: '#eec591', T.Operator.Word: 'bold #fff', - T.Punctuation: '#eec591' + T.Punctuation: '#eec591', + PTK.token.Token.MatchingBracket: '', + PTK.token.Token.MatchingBracket.Cursor: '', + PTK.token.Token.MatchingBracket.Other: 'bg:#006400' }