feat(note2cal): add plugin
This commit is contained in:
parent
d5d6850bc7
commit
e0c55aa01e
|
|
@ -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',
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue