feat(note2cal): add plugin

This commit is contained in:
TLCooper4031 2025-04-30 08:37:47 -04:00
parent d5d6850bc7
commit e0c55aa01e
1 changed files with 18 additions and 0 deletions

View File

@ -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 = '<Leader>se', -- mnemonic: Schedule Event
visual = '<Leader>se', -- mnemonic: Schedule Event
},
}
end,
ft = 'markdown',
}