v0.5.0
- Don't suggest
<expr>
maps as they move the cursor upon execution - Make calling
:JsonPath
with no arguments correctly parse until cursor - Add missing varargs to
jsonpath#echo()
(fixes #12) - Add default value for
to_line
injsonpath#scan_buffer()
The mapping syntax have been updated with a version the doesn't interfere with
the cursor position. If you've defined mappings to the plugin it is therefore
recommended to update them to follow the updated syntax:
au FileType json noremap <buffer> <silent> <leader>d :call jsonpath#echo()<CR>
au FileType json noremap <buffer> <silent> <leader>g :call jsonpath#goto()<CR>