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.
I just installed this plugin and on startup I got the error
E1208: -complete used without -nargs. I could fix this by changingvim-solnatspec/ftplugin/solidity/solnatspec.vim
Line 4 in e03e9de
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.