summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-10-26 13:19:27 +0200
committerBram Moolenaar <Bram@vim.org>2011-10-26 13:19:27 +0200
commit50bfb3278e78daa413fe66fc07d5c5694fbc1d77 (patch)
tree68970ab130f04b5373c4d9dd43819331b4efb854 /src/eval.c
parentf541c36a8cf24c59bcc0d950776697230b3b8baf (diff)
downloadvim-50bfb3278e78daa413fe66fc07d5c5694fbc1d77.zip
updated for version 7.3.350
Problem: Block of code after ":lua << EOF" may not work. (Paul Isambert) Solution: Recognize the ":lua" command, skip to EOF.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index efbcfaf51..5c26248dd 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -20899,6 +20899,8 @@ ex_function(eap)
&& (!ASCII_ISALPHA(p[2]) || p[2] == 'r'))
|| (p[0] == 't' && p[1] == 'c'
&& (!ASCII_ISALPHA(p[2]) || p[2] == 'l'))
+ || (p[0] == 'l' && p[1] == 'u' && p[2] == 'a'
+ && !ASCII_ISALPHA(p[3]))
|| (p[0] == 'r' && p[1] == 'u' && p[2] == 'b'
&& (!ASCII_ISALPHA(p[3]) || p[3] == 'y'))
|| (p[0] == 'm' && p[1] == 'z'