On 7/19/19 11:33 AM, Elliott Sales de Andrade wrote: > On Fri, 19 Jul 2019 at 05:09, Zdenek Dohnal <zdohnal@xxxxxxxxxx> wrote: >> >> >> On 7/18/19 9:47 PM, Jason L Tibbitts III wrote: >>>>>>>> "ZD" == Zdenek Dohnal <zdohnal@xxxxxxxxxx> writes: >>> ZD> Hi all, I would like to ask as Vim co-maintainer, do you find useful >>> ZD> for Vim to do: >>> >>> ZD> - when you open new file with .spec suffix, Vim will get you basic >>> ZD> spec file structure? >>> >>> Personally I have always found that behavior annoying. If I open a new >>> file, I expect that the file would be empty. If I want a template, I >>> can copy one. Editing a new HTML file doesn't bring up a template for >>> HTML files, for example. >>> >>> The spec template used isn't something I ever want anyway. It uses tabs >>> instead of spaces and uses them in a way that implies that indentation >>> is somehow required. >> Converted to spaces now. >>> And it includes a default release tag of >>> "0%{?dist}" which isn't permitted by the packaging guidelines. >> Expected. It is designed for user to run rpmdev-bumpspec <package>.spec, >> so the tool will supply correct format of changelog entry and increment >> the release. > > Why would you use rpmdev-bumpspec for a file created in vim when you > can use <leader>c in vim directly? It also creates a changelog entry for you. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx