Hi,

I get the following error when trying to use the global <Leader>o mapping from 
ftplugin/changelog.vim:

Error detected while processing function <SNR>13_open_changelog:
line   46:
E118: Too many arguments for function: <SNR>13_new_changelog_entry

That's the last line in open_changelog:

    call s:new_changelog_entry(prefix)
  endfunction

And indeed it doesn't look like it should have arguments:

  " Internal function to create a new entry in the ChangeLog.
  function! s:new_changelog_entry()

Browsing source history, this function dropped "(...)" arguments in the 
2011-05-02 revision, but I can't see that arguments were even used before that.

So the global <Leader>o mapping only succeeds to open the ChangeLog after the 
error message.  From there I can use the local <Leader>o, at least.

The plugin code seems plainly wrong to me, but I'm open to suggestions if 
someone can see that I'm doing something wrong...

Thanks,
Josh

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to