mirror of
https://github.com/kiviktnm/decman.git
synced 2026-09-19 12:08:28 +00:00
Change pacman output highlight keyword defaults
This commit is contained in:
+8
-3
@@ -134,12 +134,17 @@ decman.config.quiet_output = False
|
|||||||
|
|
||||||
# Decman captures pacman command output, and any line (and adjacent lines) that contains any of
|
# Decman captures pacman command output, and any line (and adjacent lines) that contains any of
|
||||||
# the following keywords (case-insensetive) will be printed after the pacman command finishes.
|
# the following keywords (case-insensetive) will be printed after the pacman command finishes.
|
||||||
|
#
|
||||||
|
# REMEMBER: You should still generally pay attention to pacman output
|
||||||
|
# since these keywords may not catch all cases.
|
||||||
decman.config.pacman_output_keywords = [
|
decman.config.pacman_output_keywords = [
|
||||||
"warning",
|
|
||||||
"error",
|
|
||||||
"note",
|
|
||||||
"pacsave",
|
"pacsave",
|
||||||
"pacnew",
|
"pacnew",
|
||||||
|
# Additional keywords can be:
|
||||||
|
#"warning",
|
||||||
|
#"error",
|
||||||
|
#"note",
|
||||||
|
# They might cause too many highlights however.
|
||||||
]
|
]
|
||||||
# If you don't want to print lines that contain keywords, set this to False
|
# If you don't want to print lines that contain keywords, set this to False
|
||||||
decman.config.print_pacman_output_highlights = True
|
decman.config.print_pacman_output_highlights = True
|
||||||
|
|||||||
@@ -200,11 +200,12 @@ valid_pkgexts: list[str] = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
pacman_output_keywords: list[str] = [
|
pacman_output_keywords: list[str] = [
|
||||||
"warning",
|
|
||||||
"error",
|
|
||||||
"note",
|
|
||||||
"pacsave",
|
"pacsave",
|
||||||
"pacnew",
|
"pacnew",
|
||||||
|
# These cause too many false positives IMO
|
||||||
|
#"warning",
|
||||||
|
#"error",
|
||||||
|
#"note",
|
||||||
]
|
]
|
||||||
print_pacman_output_highlights: bool = True
|
print_pacman_output_highlights: bool = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user