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 detected while processing - Invalid argument #341

Open
sid-kuruba opened this issue Jul 6, 2023 · 1 comment
Open

Error detected while processing - Invalid argument #341

sid-kuruba opened this issue Jul 6, 2023 · 1 comment

Comments

@sid-kuruba
Copy link

Before submitting your issue(请在提交 issue 前一定要检查以下项目!)

  1. Update to the latest version of CtrlSF.
  2. Update your backend(ag/ack/pt/rg) to their latest version.
  3. Enable debug mode to try to find what is going wrong yourself. You can enable debug mode by let g:ctrlsf_debug_mode = 1.

If you can't find out why things do not work or can be sure it's a bug of CtrlSF, please fulfill below issue template. Thanks in advance!

Issue template

Issue description

Error detected while processing /home/sikm/.vim/plugged/ctrlsf.vim/autoload/ctrlsf.vim:
line 20:
E475: Invalid argument: args, override = v:false) abort
line 23:
E121: Undefined variable: a:override
E116: Invalid arguments for function 42_Reset
line 28:
E133: :return not inside a function
line 20:
E475: Invalid argument: args, override = v:false) abort
line 23:
E121: Undefined variable: a:override
E116: Invalid arguments for function 42_Reset
line 26:
E121: Undefined variable: a:args
E116: Invalid arguments for function ctrlsf#opt#ParseOptions
line 28:
E133: :return not inside a function
line 20:
E475: Invalid argument: args, override = v:false) abort
line 23:
E121: Undefined variable: a:override
E116: Invalid arguments for function 42_Reset
line 26:
E121: Undefined variable: a:args
E116: Invalid arguments for function ctrlsf#opt#ParseOptions
line 28:
E133: :return not inside a function
line 20:
E475: Invalid argument: args, override = v:false) abort
line 23:
E121: Undefined variable: a:override
E116: Invalid arguments for function 42_Reset
line 26:
E121: Undefined variable: a:args
E116: Invalid arguments for function ctrlsf#opt#ParseOptions
line 28:
E133: :return not inside a function
line 20:
E475: Invalid argument: args, override = v:false) abort
line 23:

Things about your system and environment(请在此填写你的系统信息)

field value
os Ubuntu 18.04 LTS
vim VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 18 2023 09:20:34)
backend ag 2.1.0
locale en_US.UTF-8
@Aratz
Copy link

Aratz commented Mar 7, 2024

I'm encountering the same issue, my temporary solution is to pin the plugin to the previous version, e.g.:

Plug 'dyng/ctrlsf.vim', { 'commit': 'd5731e63553b0464582a51f550ac2b2d6179cec8' }

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