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', +}