Mercurial > vim
comparison src/digraph.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 | ef00b6bc186b |
children | 0f7ae8010787 |
comparison
equal
deleted
inserted
replaced
17177:b58feb1a84f0 | 17178:40c4cb095d53 |
---|---|
2376 /* | 2376 /* |
2377 * Get each line of the sourced file, break at the end. | 2377 * Get each line of the sourced file, break at the end. |
2378 */ | 2378 */ |
2379 for (;;) | 2379 for (;;) |
2380 { | 2380 { |
2381 line = eap->getline(0, eap->cookie, 0); | 2381 line = eap->getline(0, eap->cookie, 0, TRUE); |
2382 if (line == NULL) | 2382 if (line == NULL) |
2383 break; | 2383 break; |
2384 | 2384 |
2385 p = skipwhite(line); | 2385 p = skipwhite(line); |
2386 if (*p != '"' && *p != NUL && ga_grow(&curbuf->b_kmap_ga, 1) == OK) | 2386 if (*p != '"' && *p != NUL && ga_grow(&curbuf->b_kmap_ga, 1) == OK) |