Fix line-folding address bug for special char arg $

This commit is contained in:
solecki 2018-04-15 11:51:38 +02:00
parent 53ebb0dac6
commit 6b3b739532

View file

@ -467,7 +467,7 @@ class Ex
move: ({range, args, editor}) -> move: ({range, args, editor}) ->
args = args.trimLeft() args = args.trimLeft()
lastLine = editor.getLastScreenRow() lastLine = editor.getLastBufferRow()
argsPattern = /^[$.]|[+-]\d+|\d+|[+-]/g argsPattern = /^[$.]|[+-]\d+|\d+|[+-]/g
args = args.match(argsPattern) args = args.match(argsPattern)