From e0c55aa01e4cd0411edbbf93e2c3a1da1a440e11 Mon Sep 17 00:00:00 2001 From: TLCooper4031 <58536802+TLCooper4031@users.noreply.github.com> Date: Wed, 30 Apr 2025 08:37:47 -0400 Subject: [PATCH] feat(note2cal): add plugin --- lua/custom/plugins/note2cal.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lua/custom/plugins/note2cal.lua diff --git a/lua/custom/plugins/note2cal.lua b/lua/custom/plugins/note2cal.lua new file mode 100644 index 00000000..450715d5 --- /dev/null +++ b/lua/custom/plugins/note2cal.lua @@ -0,0 +1,18 @@ +return { + 'lfilho/note2cal.nvim', + config = function() + require('note2cal').setup { + debug = false, -- if true, prints a debug message an return early (won't schedule events) + calendar_name = 'Calendar', -- the name of the calendar as it appear on Calendar.app + highlights = { + at_symbol = 'WarningMsg', -- the highlight group for the "@" symbol + at_text = 'Number', -- the highlight group for the date-time part + }, + keymaps = { + normal = 'se', -- mnemonic: Schedule Event + visual = 'se', -- mnemonic: Schedule Event + }, + } + end, + ft = 'markdown', +}