From 6b3b739532e4fb19fd64c2036a89abc3519bb5f9 Mon Sep 17 00:00:00 2001 From: solecki <38192622+solecki@users.noreply.github.com> Date: Sun, 15 Apr 2018 11:51:38 +0200 Subject: [PATCH] Fix line-folding address bug for special char arg $ --- lib/ex.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex.coffee b/lib/ex.coffee index 49166ec..34ae802 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -467,7 +467,7 @@ class Ex move: ({range, args, editor}) -> args = args.trimLeft() - lastLine = editor.getLastScreenRow() + lastLine = editor.getLastBufferRow() argsPattern = /^[$.]|[+-]\d+|\d+|[+-]/g args = args.match(argsPattern)