From 87e054bb24cd4ba8cd06eb1a65f956c6bcce222d Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sat, 18 Jun 2016 13:45:39 +0200 Subject: api: When calling get/set_lines from vimL, don't convert between "\n" and "\0". --- src/nvim/api/private/defs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nvim/api/private') diff --git a/src/nvim/api/private/defs.h b/src/nvim/api/private/defs.h index 3e0819ba3a..a6710193ff 100644 --- a/src/nvim/api/private/defs.h +++ b/src/nvim/api/private/defs.h @@ -33,6 +33,9 @@ typedef enum { /// Used as the message ID of notifications. #define NO_RESPONSE UINT64_MAX +/// Used as channel_id when the call is local +#define INVALID_CHANNEL UINT64_MAX + typedef struct { ErrorType type; char msg[1024]; -- cgit