Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Argument of map() must be a List or Dictionary #53

Closed
yudium opened this issue Nov 30, 2019 · 2 comments
Closed

Error: Argument of map() must be a List or Dictionary #53

yudium opened this issue Nov 30, 2019 · 2 comments

Comments

@yudium
Copy link

yudium commented Nov 30, 2019

After I press "fs" to jump to 's' character i got this error:

Error detected while processing function clever_f#find_with:
line   40:
E712: Argument of map() must be a List or Dictionary

Removing this setting making it works again:
let g:clever_f_repeat_last_char_inputs='<Tab>'

My vim version is:

NVIM v0.4.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNUP
@rhysd
Copy link
Owner

rhysd commented Dec 1, 2019

It's because your configuration is not correct. Please try:

let g:clever_f_repeat_last_char_inputs = [ "\<Tab>" ]

@rhysd
Copy link
Owner

rhysd commented Sep 3, 2020

closing as no response

@rhysd rhysd closed this as completed Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants