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

Can't jump to tag #8

Closed
curist opened this issue May 21, 2013 · 3 comments
Closed

Can't jump to tag #8

curist opened this issue May 21, 2013 · 3 comments
Labels

Comments

@curist
Copy link
Contributor

curist commented May 21, 2013

commit 01f5824 broke it.
for filters using multiple conditions, like java and javascript

let s:filter = [{ 'pattern': regex,
                \ 'filter': ['\v(^\s*)|(\s*\{.*)', '', 'g']}
\ ]

error message

Error detected while processing function <SNR>161_AcceptSelection..ctrlp#funky#accept:
line    1:
E688: More targets than List items
line    2:
E121: Undefined variable: bufnr
E116: Invalid arguments for function str2nr(bufnr, 10))
E116: Invalid arguments for function bufname(str2nr(bufnr, 10))
E15: Invalid expression: bufname(str2nr(bufnr, 10))
line    5:
E121: Undefined variable: bufnr
E116: Invalid arguments for function str2nr(bufnr, 10))
E116: Invalid arguments for function s:filetypes(str2nr(bufnr, 10))
E15: Invalid expression: s:filetypes(str2nr(bufnr, 10))
line   13:
E121: Undefined variable: bufname
E116: Invalid arguments for function empty(bufname)
E15: Invalid expression: line_mode || empty(bufname)
tacahiroy added a commit that referenced this issue May 21, 2013
After filter removes essential info, bufnr and lineno
@tacahiroy
Copy link
Owner

Thanks for reporting the issue.
I've just fixed it. Could you try the latest version, please.

@curist
Copy link
Contributor Author

curist commented May 21, 2013

Whoa... that's fast!!
Just checked, it's fixed.

@tacahiroy
Copy link
Owner

Thanks for the checking.
I'm living in a laptop actually :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants