aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.h
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2017-07-07 14:57:50 +0800
committerJames McCoy <jamessan@jamessan.com>2017-07-13 23:09:03 -0400
commit04de6a64e2f7b3b235acd4ab779bfed30e59451f (patch)
treedfaed4439bfd21febf94e05e9c8d0a703f528dbe /src/nvim/fileio.h
parentf746e38955f33dfdcc0dbdb40efaae82fb4b4c12 (diff)
downloadrneovim-04de6a64e2f7b3b235acd4ab779bfed30e59451f.tar.gz
rneovim-04de6a64e2f7b3b235acd4ab779bfed30e59451f.tar.bz2
rneovim-04de6a64e2f7b3b235acd4ab779bfed30e59451f.zip
vim-patch:7.4.2189
https://github.com/vim/vim/commit/f71d7b9ee5ceba75f70c30845332ddd728fd16c6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 9 22:14:05 2016 +0200 patch 7.4.2189 Problem: Cannot detect encoding in a fifo. Solution: Extend the stdin way of detecting encoding to fifo. Add a test for detecting encoding on stdin and fifo. (Ken Takata)
Diffstat (limited to 'src/nvim/fileio.h')
-rw-r--r--src/nvim/fileio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/fileio.h b/src/nvim/fileio.h
index 426dc0fcb3..05dd0fa2c3 100644
--- a/src/nvim/fileio.h
+++ b/src/nvim/fileio.h
@@ -10,7 +10,8 @@
#define READ_STDIN 0x04 /* read from stdin */
#define READ_BUFFER 0x08 /* read from curbuf (converting stdin) */
#define READ_DUMMY 0x10 /* reading into a dummy buffer */
-#define READ_KEEP_UNDO 0x20 /* keep undo info*/
+#define READ_KEEP_UNDO 0x20 /* keep undo info */
+#define READ_FIFO 0x40 /* read from fifo or socket */
#define READ_STRING(x, y) (char_u *)read_string((x), (size_t)(y))