diff options
author | Jurica Bradaric <jbradaric@gmail.com> | 2019-09-23 21:19:26 +0200 |
---|---|---|
committer | Jurica Bradaric <jbradaric@gmail.com> | 2019-10-07 14:14:13 +0200 |
commit | 0586a4b512b2495d32f20c46946d35a0d403bd52 (patch) | |
tree | 6d63e31135bb1e2221e8e528b5dac9498a48a617 /src/nvim/fileio.c | |
parent | c84b39150f3f5e12e042777f61ca9adf13be09d8 (diff) | |
download | rneovim-0586a4b512b2495d32f20c46946d35a0d403bd52.tar.gz rneovim-0586a4b512b2495d32f20c46946d35a0d403bd52.tar.bz2 rneovim-0586a4b512b2495d32f20c46946d35a0d403bd52.zip |
vim-patch:8.1.1588: in :let-heredoc line continuation is recognized
Problem: In :let-heredoc line continuation is recognized.
Solution: Do not consume line continuation. (Ozaki Kiichi, closes vim/vim#4580)
https://github.com/vim/vim/commit/e96a2498f9a2d3e93ac07431f6d4afd77f30afdf
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r-- | src/nvim/fileio.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 0394639a16..58e6b2ae92 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -7100,12 +7100,10 @@ auto_next_pat( } } -/* - * Get next autocommand command. - * Called by do_cmdline() to get the next line for ":if". - * Returns allocated string, or NULL for end of autocommands. - */ -char_u *getnextac(int c, void *cookie, int indent) +/// Get next autocommand command. +/// Called by do_cmdline() to get the next line for ":if". +/// @return allocated string, or NULL for end of autocommands. +char_u *getnextac(int c, void *cookie, int indent, bool do_concat) { AutoPatCmd *acp = (AutoPatCmd *)cookie; char_u *retval; |