Skip to content

Commit af9c07b

Browse files
committed
Avoid printing goto() outcome on the same line as input
1 parent 60b9c96 commit af9c07b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/jsonpath.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ function! jsonpath#goto(...) "{{{
257257
let search_for = get(a:, 1)
258258
if empty(search_for)
259259
let search_for = input('Path (using dot notation): ')
260+
redraw
260261
if empty(search_for)
261262
echo 'Search aborted'
262263
return

0 commit comments

Comments
 (0)