diff options
| author | Luuk van Baal <luukvbaal@gmail.com> | 2025-01-14 12:05:23 +0100 |
|---|---|---|
| committer | Luuk van Baal <luukvbaal@gmail.com> | 2025-01-15 10:51:52 +0100 |
| commit | 5bae80899d9d29d80c129ca92cde75a1583b5efe (patch) | |
| tree | c30d604cf4a84d2e5998297596a6ee4e9b0e62b6 /src/nvim/event | |
| parent | c5f93d7ab04f93db1470d58ca1f70e947e716c2b (diff) | |
| download | rneovim-5bae80899d9d29d80c129ca92cde75a1583b5efe.tar.gz rneovim-5bae80899d9d29d80c129ca92cde75a1583b5efe.tar.bz2 rneovim-5bae80899d9d29d80c129ca92cde75a1583b5efe.zip | |
feat(messages): add :!cmd shell message kinds
Also print stderr error messages with ErrorMsg highlight group.
Diffstat (limited to 'src/nvim/event')
| -rw-r--r-- | src/nvim/event/proc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/event/proc.h b/src/nvim/event/proc.h index f525d46f87..fb14041049 100644 --- a/src/nvim/event/proc.h +++ b/src/nvim/event/proc.h @@ -21,8 +21,8 @@ static inline Proc proc_init(Loop *loop, ProcType type, void *data) .argv = NULL, .exepath = NULL, .in = { .closed = false }, - .out = { .s.closed = false }, - .err = { .s.closed = false }, + .out = { .s.closed = false, .s.fd = STDOUT_FILENO }, + .err = { .s.closed = false, .s.fd = STDERR_FILENO }, .cb = NULL, .closed = false, .internal_close_cb = NULL, |