mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
Rewrite show_shell_mess
as a ShellOpts
flag
This commit is contained in:
@@ -7,13 +7,14 @@
|
||||
|
||||
// Flags for mch_call_shell() second argument
|
||||
typedef enum {
|
||||
kShellOptFilter = 1, // filtering text
|
||||
kShellOptExpand = 2, // expanding wildcards
|
||||
kShellOptCooked = 4, // set term to cooked mode
|
||||
kShellOptDoOut = 8, // redirecting output
|
||||
kShellOptSilent = 16, // don't print error returned by command
|
||||
kShellOptRead = 32, // read lines and insert into buffer
|
||||
kShellOptWrite = 64 // write lines from buffer
|
||||
kShellOptFilter = 1, // filtering text
|
||||
kShellOptExpand = 2, // expanding wildcards
|
||||
kShellOptCooked = 4, // set term to cooked mode
|
||||
kShellOptDoOut = 8, // redirecting output
|
||||
kShellOptSilent = 16, // don't print error returned by command
|
||||
kShellOptRead = 32, // read lines and insert into buffer
|
||||
kShellOptWrite = 64, // write lines from buffer
|
||||
kShellOptHideMess = 128, // previously a global variable from os_unix.c
|
||||
} ShellOpts;
|
||||
|
||||
char ** shell_build_argv(char_u *cmd, char_u *extra_shell_arg);
|
||||
|
Reference in New Issue
Block a user