diff --git a/editors/nvim/config/lua/due_nvim.lua b/editors/nvim/config/lua/due_nvim.lua index a135aaf..60b952c 100644 --- a/editors/nvim/config/lua/due_nvim.lua +++ b/editors/nvim/config/lua/due_nvim.lua @@ -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)