Neovim Home
src
nvim
os
shell.h
Go to the documentation of this file.
1
#ifndef NVIM_OS_SHELL_H
2
#define NVIM_OS_SHELL_H
3
4
#include <stdio.h>
5
6
#include "
nvim/types.h
"
7
8
// Flags for os_call_shell() second argument
9
typedef
enum
{
10
kShellOptFilter
= 1,
11
kShellOptExpand
= 2,
12
kShellOptDoOut
= 4,
13
kShellOptSilent
= 8,
14
kShellOptRead
= 16,
15
kShellOptWrite
= 32,
16
kShellOptHideMess
= 64,
17
}
ShellOpts
;
18
19
#ifdef INCLUDE_GENERATED_DECLARATIONS
20
# include "os/shell.h.generated.h"
21
#endif
22
#endif // NVIM_OS_SHELL_H
types.h
kShellOptSilent
@ kShellOptSilent
don't print error returned by command
Definition:
shell.h:13
kShellOptRead
@ kShellOptRead
read lines and insert into buffer
Definition:
shell.h:14
kShellOptHideMess
@ kShellOptHideMess
previously a global variable from os_unix.c
Definition:
shell.h:16
ShellOpts
ShellOpts
Definition:
shell.h:9
kShellOptDoOut
@ kShellOptDoOut
redirecting output
Definition:
shell.h:12
kShellOptWrite
@ kShellOptWrite
write lines from buffer
Definition:
shell.h:15
kShellOptFilter
@ kShellOptFilter
filtering text
Definition:
shell.h:10
kShellOptExpand
@ kShellOptExpand
expanding wildcards
Definition:
shell.h:11