Skip to content

Too many arguments for function: jsonpath#echo #12

@jsolbrig

Description

@jsolbrig

Dislaimer

I just installed the plugin, so it is very likely that I'm doing something wrong in my configuration.

Problem

When I execute :JsonPath I get the following:

Error dertected while processing function jsonpath#command:
line    2:
E118: Too many arguments for function: jsonpath#echo

Vim version

I'm using VIM version 8.2.754 without Python 3 support.

My Setup

To test this, I removed just about everything from my vimrc, deleted all of my previously installed bundles, then installed only JsonPath. My minimal vimrc looks like this:

set nocompatible
" set termguicolors
filetype off

" Set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" let Vundle manage Vundle
Plugin 'VundleVim/Vundle.vim'
"
" json Path information
Plugin 'mogelbrod/vim-jsonpath'
au FileType json noremap <buffer> <silent> <expr> <leader>p jsonpath#echo()
au FileType json noremap <buffer> <silent> <expr> <leader>g jsonpath#goto()

" All of your plugins must be added before this
call vundle#end()
filetype plugin indent on

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions