To: vim_dev@googlegroups.com Subject: Patch 8.1.1356 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.1356 Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi) Solution: Recognize "let v =<<" and skip until the end. Files: src/userfunc.c, src/testdir/test_let.vim *** ../vim-8.1.1355/src/userfunc.c 2019-05-11 18:28:41.351611622 +0200 --- src/userfunc.c 2019-05-19 21:19:18.418630239 +0200 *************** *** 1979,1984 **** --- 1979,1985 ---- int indent; int nesting; char_u *skip_until = NULL; + char_u *trimmed = NULL; dictitem_T *v; funcdict_T fudi; static int func_nr = 0; /* number for nameless function */ *************** *** 2303,2312 **** if (skip_until != NULL) { ! /* between ":append" and "." and between ":python <