Neovim quick file switcher
1[changelog]
2# https://keats.github.io/tera/docs/#introduction
3body = """
4{% for group, commits in commits | group_by(attribute="group") %}
5 === {{ group | striptags | trim | upper_first }}
6 {% for commit in commits %}
7 - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
8 {% if commit.breaking %}[**breaking**] {% endif %}\
9 {{ commit.message | upper_first }}\
10 {% endfor %}
11{% endfor %}\n
12"""
13# remove the leading and trailing s
14trim = true
15
16[git]
17conventional_commits = true
18filter_unconventional = true
19split_commits = false
20
21# Just things end users will care about
22commit_parsers = [
23 { message = "^feat", group = "<!-- 0 -->🚀 Features" },
24 { message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
25 { message = "^doc", group = "<!-- 3 -->📚 Documentation" },
26 { message = "^perf", group = "<!-- 4 -->⚡ Performance" },
27 { message = "^style", group = "<!-- 5 -->🎨 Styling" },
28 { message = "^test", group = "<!-- 6 -->🧪 Testing" },
29 { message = "^chore|^ci|^refactor", skip = true },
30 { body = ".*security", group = "<!-- 8 -->🛡️ Security" },
31 { message = "^revert", group = "<!-- 9 -->◀️ Revert" },
32 { message = ".*", group = "<!-- 10 -->💼 Other" },
33]
34# filter out the commits that are not matched by commit parsers
35filter_commits = false
36topo_order = false
37sort_commits = "oldest"