Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(summary): reimplement nested categories #1274

Merged
merged 2 commits into from
Jan 28, 2024
Merged

feat(summary): reimplement nested categories #1274

merged 2 commits into from
Jan 28, 2024

Conversation

smtucker
Copy link
Contributor

Why:

Looks like nested categories were added to the summary module but then later disabled.

What:

This adds it back in with some subtle changes so it works with the current codebase. It also plays nicely with selecting the desired (sub)categories by argument given. Did a little refactoring to shorten the default strategy function and make it easier to read.

This is my first time submitting a PR. I'm just too excited about Neorg to hold back. Feedback appreciated.

feat(summary): pass subcategories by argument

chore(summary): refactor subcategory adding

fix(summary): work when no catagories are given
@vhyrro
Copy link
Member

vhyrro commented Jan 28, 2024

I can confirm it works on my end! Thanks a lot for the PR :D

@vhyrro vhyrro merged commit 6202285 into nvim-neorg:main Jan 28, 2024
1 of 2 checks passed
gruejay pushed a commit to gruejay/neorg that referenced this pull request Jan 31, 2024
benlubas pushed a commit to benlubas/neorg that referenced this pull request Feb 6, 2024
sahinf pushed a commit to sahinf/neorg that referenced this pull request May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants