Mercurial > vim
comparison src/autocmd.c @ 17178:40c4cb095d53 v8.1.1588
patch 8.1.1588: in :let-heredoc line continuation is recognized
commit https://github.com/vim/vim/commit/e96a2498f9a2d3e93ac07431f6d4afd77f30afdf
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 25 04:12:16 2019 +0200
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 https://github.com/vim/vim/issues/4580)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 25 Jun 2019 04:15:08 +0200 |
parents | 4dac68c4a34a |
children | 83ad219cc133 |
comparison
equal
deleted
inserted
replaced
17177:b58feb1a84f0 | 17178:40c4cb095d53 |
---|---|
2327 * Get next autocommand command. | 2327 * Get next autocommand command. |
2328 * Called by do_cmdline() to get the next line for ":if". | 2328 * Called by do_cmdline() to get the next line for ":if". |
2329 * Returns allocated string, or NULL for end of autocommands. | 2329 * Returns allocated string, or NULL for end of autocommands. |
2330 */ | 2330 */ |
2331 char_u * | 2331 char_u * |
2332 getnextac(int c UNUSED, void *cookie, int indent UNUSED) | 2332 getnextac(int c UNUSED, void *cookie, int indent UNUSED, int do_concat UNUSED) |
2333 { | 2333 { |
2334 AutoPatCmd *acp = (AutoPatCmd *)cookie; | 2334 AutoPatCmd *acp = (AutoPatCmd *)cookie; |
2335 char_u *retval; | 2335 char_u *retval; |
2336 AutoCmd *ac; | 2336 AutoCmd *ac; |
2337 | 2337 |