Hi, maintainer

This is the code which has issue
in /usr/share/vim/vim82/ftplugin/spec.vim

line 113. You can check the source.


103                  if (chgline == -1)
104                          let option = confirm("Can't find %changelog.
Create one? ","&End of file\n&Here\n&Cancel",3)
105                          if (option == 1)
106                                  call append(line("$"),"")
107                                  call append(line("$"),"%changelog")
108                                  execute line("$")
109                                  let chgline = line(".")
110                          elseif (option == 2)
111                                  call append(line("."),"%changelog")
112                                  normal j
113                                  chgline = line(".")
114                          endif 
115                  endif


On Tue, 15 Dec 2020 08:09:13 -0500
James McCoy <james...@debian.org> wrote:

> On Tue, Dec 15, 2020 at 09:41:18AM +0900, YABUKI Yukiharu wrote:
> > I ran accross a bug when I use spec.vim.
> > 
> > I set g:spec_chglog_format in ~/.vimrc and
> > ```
> > au BufNewFile,BufRead *.changelog setf spec
> > ```
> > 
> > Then push '\c', spec.vim gives me Error.
> 
> It's hard to triage when the exact error information isn't provided.

-
====+====+====+====+====+====+====+====+====+====+====+====+====+====+
Yukiharu Yabuki (矢吹幸治)                      I use Debian GNU/Linux
mail: yab...@netfort.gr.jp
クレクレタコラは好き / クレクレタコだはイヤ
====+====+====+====+====+====+====+====+====+====+====+====+====+====+

Reply via email to