Created attachment 1152950 [details]
example WIP spec
Description of problem:
The \c shortcut doesn't seem to be working any more.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. \c to insert a new change log entry
This is what I get when I hit \c:
Error detected while processing function <SNR>69_SpecChangelog..<SNR>69_GetRelVer:
Traceback (most recent call last):
File "<string>", line 15, in <module>
vim.error: Vim(let):E15: Invalid expression: 3.2b.hines18
Should just add a new changelog entry.
Attaching an example spec.
I've seen similar issues on f24's vim occassionally too, can give more test-cases if that helps.
Unfortunately upstream spec.vim got more broken in the meantime. \c doesn't produce any useful results even in vim's own specfile anymore.
Let's be honest about `spec.vim`. The code is not great. I wanted to add a few things but I decided to rewrite the whole plugin. Do something more like `rpm-spec-mode` in emacs. I should have something in a week or so.
*** This bug has been marked as a duplicate of bug 1297746 ***