mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
style: run linter and format completion menu style definitions
This commit is contained in:
parent
2c084d65d9
commit
cf46d9cdd0
1 changed files with 4 additions and 10 deletions
14
aider/io.py
14
aider/io.py
|
@ -340,12 +340,9 @@ class InputOutput:
|
||||||
|
|
||||||
style_dict = {
|
style_dict = {
|
||||||
"pygments.literal.string": f"bold italic {self.user_input_color}",
|
"pygments.literal.string": f"bold italic {self.user_input_color}",
|
||||||
"completion-menu": (
|
"completion-menu": f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}",
|
||||||
f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}"
|
|
||||||
),
|
|
||||||
"completion-menu.completion.current": (
|
"completion-menu.completion.current": (
|
||||||
f"bg:{self.completion_menu_current_bg_color} "
|
f"bg:{self.completion_menu_current_bg_color} {self.completion_menu_current_color}"
|
||||||
f"{self.completion_menu_current_color}"
|
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
style = self._get_style(style_dict)
|
style = self._get_style(style_dict)
|
||||||
|
@ -489,12 +486,9 @@ class InputOutput:
|
||||||
self.tool_output(subject, bold=True)
|
self.tool_output(subject, bold=True)
|
||||||
|
|
||||||
style_dict = {
|
style_dict = {
|
||||||
"completion-menu": (
|
"completion-menu": f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}",
|
||||||
f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}"
|
|
||||||
),
|
|
||||||
"completion-menu.completion.current": (
|
"completion-menu.completion.current": (
|
||||||
f"bg:{self.completion_menu_current_bg_color} "
|
f"bg:{self.completion_menu_current_bg_color} {self.completion_menu_current_color}"
|
||||||
f"{self.completion_menu_current_color}"
|
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
style = self._get_style(style_dict)
|
style = self._get_style(style_dict)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue