feat(messages): hl-StderrMsg, hl-StdoutMsg #33429

Problem:
stderr messages from executing ":!cmd" show up with
highlight hl-ErrorMsg. But some shell utilites use stderr for debug
logging, progress updates, etc.

Solution:
Highlight shell command outputs hl-StderrMsg and hl-StdoutMsg.
This commit is contained in:
Sathya Pramodh
2025-05-02 18:36:55 +05:30
committed by GitHub
parent 3c7c824bdc
commit 0741d2520d
9 changed files with 22 additions and 12 deletions

View File

@@ -180,6 +180,8 @@ static const char *highlight_init_both[] = {
"default link Substitute Search",
"default link StatusLineTerm StatusLine",
"default link StatusLineTermNC StatusLineNC",
"default link StderrMsg ErrorMsg",
"default link StdoutMsg NONE",
"default link TabLine StatusLineNC",
"default link TabLineFill TabLine",
"default link VertSplit WinSeparator",