Skip to content

Commit dfe9dae

Browse files
prurphjonathanslenders
authored andcommitted
Add display meta styling classes to default style
1 parent bed0501 commit dfe9dae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ptpython/style.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@ def generate_style(python_style: BaseStyle, ui_style: BaseStyle) -> BaseStyle:
137137
"completion.keyword": "fg:#008800",
138138
"completion.keyword fuzzymatch.inside": "fg:#008800",
139139
"completion.keyword fuzzymatch.outside": "fg:#44aa44",
140+
# Styling for the meta completion menu that displays the type of each
141+
# completion, e.g. param, builtin, keyword to the right of the item.
142+
"completion.param-meta": "fg:ansiblue",
143+
"completion.param-meta fuzzymatch.inside.character": "fg:ansiblue",
144+
"completion.builtin-meta": "fg:ansigreen",
145+
"completion.builtin-meta fuzzymatch.inside.character": "fg:ansigreen",
146+
"completion.keyword-meta": "fg:ansired",
147+
"completion.keyword-meta fuzzymatch.inside.character": "fg:ansired",
140148
# Separator between windows. (Used above docstring.)
141149
"separator": "#bbbbbb",
142150
# System toolbar

0 commit comments

Comments
 (0)