From c3a389e2f9f53fb3e3e70a325bf42c8ce02a0b82 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 10 Feb 2021 23:36:22 +0800 Subject: fix local statement used with line decorator issue. --- spec/inputs/plus.mp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/inputs/plus.mp') diff --git a/spec/inputs/plus.mp b/spec/inputs/plus.mp index ca03499..e387090 100644 --- a/spec/inputs/plus.mp +++ b/spec/inputs/plus.mp @@ -14,6 +14,8 @@ message = message\gsub "<%->", fcolor if fcolor = message\match "<%w*>" valA = func! if func = getfunc! +local valA = func! if func = getfunc! + valB = do func = getfunc! func?! -- cgit v1.2.3-55-g6feb