From 793797f2968bf5500731f02238912dbe26cff670 Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Tue, 21 Mar 2023 11:01:21 -0400 Subject: [PATCH] fixed date concealling --- editors/nvim/config/lua/due_nvim.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)