kickstart.nvim/lua/custom/plugins/note2cal.lua

19 lines
635 B
Lua

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