|
|
|
@ -156,12 +156,14 @@ function M.setup(c)
|
|
|
|
|
autocmd InsertLeave %s lua require("due_nvim").redraw(0)
|
|
|
|
|
autocmd TextChanged %s lua require("due_nvim").redraw(0)
|
|
|
|
|
autocmd TextChangedI %s lua require("due_nvim").redraw(0)
|
|
|
|
|
autocmd BufEnter %s syn match DueDate %s display containedin=mkdNonListItemBlock,mkdListItemLine,mkdBlockquote contained
|
|
|
|
|
autocmd BufEnter %s syn match DueDate %s display containedin=mkdNonListItemBlock,mkdListItemLine,mkdBlockquote conceal
|
|
|
|
|
autocmd BufEnter %s hi def link DueDate %s
|
|
|
|
|
augroup END
|
|
|
|
|
]] , ft, ft, ft, ft, ft, ft, regex_hi_full, ft, date_hi),
|
|
|
|
|
false
|
|
|
|
|
)
|
|
|
|
|
-- old autcmd
|
|
|
|
|
--autocmd BufEnter %s syn match DueDate %s display containedin=mkdNonListItemBlock,mkdListItemLine,mkdBlockquote contained conceal
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
local function draw_due(due, buf, key)
|
|
|
|
|