Shougo / dpp.vim

Dark powered plugin manager for Vim/neovim
MIT License
128 stars 5 forks source link

`dpp#util#_clear_state` requires one argument, but called with no arguments. #6

Closed Warashi closed 10 months ago

Warashi commented 10 months ago

Warning: I will close the issue without the minimal init.vim and the reproduction instructions.

Problems summary

dpp#util#_clear_state requires one argument, but called with no arguments.

https://github.com/Shougo/dpp.vim/blob/d9f10f0710a3816e9aa132c610f82137df7a464a/autoload/dpp/util.vim#L152

https://github.com/Shougo/dpp.vim/blob/d9f10f0710a3816e9aa132c610f82137df7a464a/autoload/dpp/util.vim#L33 https://github.com/Shougo/dpp.vim/blob/d9f10f0710a3816e9aa132c610f82137df7a464a/autoload/dpp/min.vim#L19

I cannot provide configuration codes with problems around above codes, but this may causes problems. So I submit this issue.

Expected

called with required argument or make argument optional.

Environment Information

Provide a minimal init.vim/vimrc without plugin managers (Required!)

" Your minimal init.vim/vimrc
set runtimepath+=~/path/to/dpp.vim/

How to reproduce the problem from neovim/Vim startup (Required!)

  1. foo
  2. bar
  3. baz

Screenshot (if possible)

Upload the log messages by :redir and :message (if errored)

Shougo commented 10 months ago

Fixed.