Skip to content

Plugin doesn't work #4

@sebastianst

Description

@sebastianst

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.

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