[python] add BPython config

This commit is contained in:
Dmytro Meleshko 2019-10-29 21:59:15 +02:00
parent 8841a89281
commit ef379e93c4
2 changed files with 31 additions and 0 deletions

2
python/bpython/config Normal file
View File

@ -0,0 +1,2 @@
[general]
color_scheme = dmitmel

View File

@ -0,0 +1,29 @@
# Each letter represents a colour marker:
# k, r, g, y, b, m, c, w, d
# which stands for:
# blacK, Red, Green, Yellow, Blue, Magenta, Cyan, White, Default
# Capital letters represent bold
# Copy to $XDG_CONFIG_HOME/bpython/foo.theme and set "color_scheme = foo" in
# $XDG_CONFIG_HOME/bpython/config ($XDG_CONFIG_HOME defaults to ~/.config)
[syntax]
keyword = m
name = b
comment = w
string = g
error = R
number = y
operator = w
punctuation = w
token = c
paren = k
[interface]
# XXX: gnome-terminal appears to be braindead. The cursor will disappear unless
# you set the background colour to "d".
background = d
output = w
main = W
prompt = G
prompt_more = G
right_arrow_suggestion = c