feat: add exclude_dirs option for summary module and corresponding docs - #1816
Open
manos00 wants to merge 2 commits into
Open
feat: add exclude_dirs option for summary module and corresponding docs#1816manos00 wants to merge 2 commits into
manos00 wants to merge 2 commits into
Conversation
Author
|
Now that I think about it: I think it would be good idea to omit the check, if the excluded directories exist because it adds no functionality, while adding another import. It stems from an earlier revision of this implementation. Let me know what you think :) |
Contributor
|
just wondering though I also don't know how much of the functionality there is and if we're supporting neovim versions where this isn't there yet |
Author
|
I also just thought about using this option to exclude singular files, which could be useful (e.g to remove the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey everyone! I've had an issue with the summary module: I like using the journal module for daily to-dos, but thought they were kind of bloating the auto generated summary in my Index file. When I looked at the documentation, I only found the option to only include certain categories:
This however did not fit my use case. I thought it would be great to have the option to specifically exclude certain categories or folders. Implementing the option to exclude folders however seems more sensible to me, as it provides the most value, since it is the most different from everything implemented so far (e.g. the inclusion of only specific categories).
This perfectly fits my needs (as the journal files typically are within another folder) and is much easier than what I used to do (add the
journalcategory to all journal files and then delete the journal list from the generated summary).Albeit I implemented this as a solution to a specific problem, I can also see more general use cases for an option like this (e.g. excluding directories like
scratchpad/,templates/,archive/orold_projects/).Let me know if there is anything I should change and thanks a lot for your work on Neorg! :)