aboutsummaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-03-29 21:34:14 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-31 08:07:47 -0300
commit0d61b1c470466118c601a107d7a17b9edd107c53 (patch)
tree297f39c2206f7cb9c87b07821db08e3f8aea1aad /src/vim.h
parent607e1c7ee42cb9bfd66cb84d4fb54060f3b4135b (diff)
downloadrneovim-0d61b1c470466118c601a107d7a17b9edd107c53.tar.gz
rneovim-0d61b1c470466118c601a107d7a17b9edd107c53.tar.bz2
rneovim-0d61b1c470466118c601a107d7a17b9edd107c53.zip
Refactor SHELL_* defines into enum typedef
The SHELL_* defines are the bitflags that can be passed to `mch_call_shell`. The enum is defined in 'os/shell.h', where all shell-related functions will eventually be defined.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vim.h b/src/vim.h
index d45a61388b..cb33a3e17f 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -489,15 +489,6 @@ enum {
#define REMAP_SCRIPT -2 /* remap script-local mappings only */
#define REMAP_SKIP -3 /* no remapping for first char */
-/* Values for mch_call_shell() second argument */
-#define SHELL_FILTER 1 /* filtering text */
-#define SHELL_EXPAND 2 /* expanding wildcards */
-#define SHELL_COOKED 4 /* set term to cooked mode */
-#define SHELL_DOOUT 8 /* redirecting output */
-#define SHELL_SILENT 16 /* don't print error returned by command */
-#define SHELL_READ 32 /* read lines and insert into buffer */
-#define SHELL_WRITE 64 /* write lines from buffer */
-
/* Values returned by mch_nodetype() */
#define NODE_NORMAL 0 /* file or directory, check with os_isdir()*/
#define NODE_WRITABLE 1 /* something we can write to (character