Control: reopen -1 On Wed, Dec 16, 2020 at 10:47:38AM +0900, Yukiharu YABUKI wrote: > 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
Thank you for providing the details. This is not fixed upstream yet. I'll forward the information along. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB