olacin / telescope-cc.nvim

A Telescope integration of Conventional Commits.
MIT License
47 stars 5 forks source link

How to define breaking changes #16

Open eneiford opened 1 week ago

eneiford commented 1 week ago

Conventional Commits defines breaking changes w/ "!" before the description separator

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Commit message with both ! and BREAKING CHANGE footer e.g.:

chore!: drop support for Node 6

BREAKING CHANGE: use JavaScript features not available in Node 6.

but i don't see the capability to insert a breaking change using this utility.

eneiford commented 1 week ago

It looks like we could expand the include_extra_steps callback, or add breaking change types to the picker. I think the include_extra_steps is probably more appropriate. I can test and hopefully push an MR

olacin commented 6 days ago

👋 Hi, thanks for opening an issue ! You're right, it is not supported as of now but I'll try to add that in the future. I've noticed you opened a PR but closed it - feel free to reopen / draft a new one and I'll be happy to review it 👍