From ad97b29cd20a48c242d8ecc1e64662f377e547e9 Mon Sep 17 00:00:00 2001 From: Juan Pedro Martin Date: Fri, 5 Apr 2024 00:14:35 +0200 Subject: [PATCH 1/2] remove excessive logging from :ObsidianToday command --- lua/obsidian/templates.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/obsidian/templates.lua b/lua/obsidian/templates.lua index 47f8fa33f..db53207f4 100644 --- a/lua/obsidian/templates.lua +++ b/lua/obsidian/templates.lua @@ -123,7 +123,6 @@ M.clone_template = function(opts) assert(note_file:close()) local new_note = Note.from_file(note_path) - vim.print(new_note) -- Transfer fields from `opts.note`. new_note.id = opts.note.id From e02dbde61c6485eda47af0012c778a1805fb0940 Mon Sep 17 00:00:00 2001 From: Juan Pedro Martin Date: Fri, 5 Apr 2024 00:21:22 +0200 Subject: [PATCH 2/2] updated changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8707b7f4e..f74d4e561 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Fixed + +- Removed excessive logging when running `:ObsidianToday` command with a defined template, resulting in cleaner output and a more streamlined user experience. + ## [v3.7.6](https://github.com/epwalsh/obsidian.nvim/releases/tag/v3.7.6) - 2024-04-01 ### Fixed