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

Daily files config #179

Merged
merged 3 commits into from
Sep 29, 2024
Merged

Conversation

emilioziniades
Copy link
Contributor

Hi there, this is a great tool and I'm really excited to use it to interact with my obsidian vault from neovim. Thanks for all your work.

I noticed that moxide was not respecting my obsidian config for my daily notes folder. After digging in the code, I found the issue and made a fix. See the commit message for more details but the gist is that the deserialization of daily-notes.json into a HashMap<String, String> was failing. I also added unit tests for this behaviour.

Before, the `daily-notes.json` file was being parsed into a
`HashMap<String, String>`. However, the deserialization was failing
because on of the fields in that file is `autorun` which is a boolean.
So the deserialization failed and the defaults were being returned
instead of whatever was set in the obsidian config.
@Feel-ix-343
Copy link
Owner

Feel-ix-343 commented Sep 24, 2024

Hey!

Thank you so much. This looks really helpful.

I will get this merged by next week

@Feel-ix-343 Feel-ix-343 merged commit 4a7948d into Feel-ix-343:main Sep 29, 2024
1 check passed
@Feel-ix-343
Copy link
Owner

Thank you so much!

Also, big things ahead... #175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants