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

Plugin doesn't work #4

Open
sebastianst opened this issue Sep 28, 2022 · 0 comments
Open

Plugin doesn't work #4

sebastianst opened this issue Sep 28, 2022 · 0 comments

Comments

@sebastianst
Copy link

I just installed this plugin and on startup I got the error E1208: -complete used without -nargs. I could fix this by changing

command! -nargs=0 -range=0 -complete=customlist,solnatspec SolNatSpec call solnatspec#insert(<q-args>, <count>, <line1>, <line2>)

to remove the superfluous arguments -range=0 -complete=customlist,solnatspec.

The plugin now loads, but doesn't do anything. No matter if I run it on a function definition, event definition or contract definition. Only the command that is executed (path/to/natspecgen.py contracts/Contract.sol 8 --indent 0) is printed to the vim status line.

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

1 participant