Skip to content

Commit

Permalink
Avoid printing goto() outcome on the same line as input
Browse files Browse the repository at this point in the history
  • Loading branch information
mogelbrod committed Jun 16, 2020
1 parent 60b9c96 commit af9c07b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/jsonpath.vim
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ function! jsonpath#goto(...) "{{{
let search_for = get(a:, 1)
if empty(search_for)
let search_for = input('Path (using dot notation): ')
redraw
if empty(search_for)
echo 'Search aborted'
return
Expand Down

0 comments on commit af9c07b

Please sign in to comment.