Change pacman output highlight keyword defaults

This commit is contained in:
Kivi Kaitaniemi
2024-07-06 18:34:21 +03:00
parent 539bb3bfad
commit 3b91577d61
2 changed files with 12 additions and 6 deletions
+8 -3
View File
@@ -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
+4 -3
View File
@@ -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