From 7ff0cf15351a0cc7dfb8e5e8d8ede2beb4d6c9a4 Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Mon, 30 Dec 2024 11:58:44 -0500 Subject: [PATCH] fix: update notes path --- .config/nvim/lua/plugins/disabled.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/nvim/lua/plugins/disabled.lua b/.config/nvim/lua/plugins/disabled.lua index 6a86b74..33dea42 100644 --- a/.config/nvim/lua/plugins/disabled.lua +++ b/.config/nvim/lua/plugins/disabled.lua @@ -46,15 +46,15 @@ return { event = 'VeryLazy', opts = { -- main notes locations - home = '~/notes', + home = os.getenv('HOME') .. '/notes', dailies = 'dailies/', weeklies = 'weeklies/', templates = 'templates/', -- specific note templates template_new_note = nil, - template_new_daily = '~/notes/templates/dailytemplate.md', - template_new_weekly = '~/notes/templates/weeklytemplate.md', + template_new_daily = os.getenv('HOME') .. '/notes/templates/dailytemplate.md', + template_new_weekly = os.getenv('HOME') .. '/notes/templates/weeklytemplate.md', -- enter any additional vaults here --[[ vaults = { @@ -231,4 +231,4 @@ return { require('telescope').load_extension('undo') end, }, -} +} \ No newline at end of file