| 1234567891011121314 |
- return {
- 'tadmccorkle/markdown.nvim',
- ft = 'markdown', -- or 'event = "VeryLazy"'
- opts = {
- on_attach = function(bufnr)
- local map = vim.keymap.set
- local opts = { buffer = bufnr }
- map('i', '<C-l>', '<Cmd>MDListItemBelow<CR>', opts)
- map('n', '<Leader>mb', '<Cmd>MDListItemBelow<CR>', opts)
- map('n', '<Leader>mu', '<Cmd>MDListItemAbove<CR>', opts)
- map('n', '<Leader>mt', '<Cmd>MDTaskToggle<CR>', opts)
- end,
- },
- }
|