Skip to content

v0.5.0

Compare
Choose a tag to compare
@mogelbrod mogelbrod released this 05 Jun 10:03
· 3 commits to master since this release
  • 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 in jsonpath#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>