From f7100e78719d45658850bc99b094033ca47db13b Mon Sep 17 00:00:00 2001 From: Devin Haska Date: Mon, 1 Apr 2024 10:53:29 -0700 Subject: [PATCH] feat: ignore hardtime inside markdown --- lua/plugins/hardtime.lua | 49 ++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/lua/plugins/hardtime.lua b/lua/plugins/hardtime.lua index 2848a46..895467b 100644 --- a/lua/plugins/hardtime.lua +++ b/lua/plugins/hardtime.lua @@ -1,26 +1,27 @@ return { - "m4xshen/hardtime.nvim", - dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" }, - opts = { - disable_mouse = true, - disabled_keys = { - -- Drill Sergeant Demchuk! - [""] = { "", "i" }, - [""] = { "", "i" }, - [""] = { "", "i" }, - [""] = { "", "i" } - }, - disabled_filetypes = { - "checkhealth", - "fugitive", - "help", - "lazy", - "mason", - "neo-tree", - "neo-tree-popup", - "netrw", - "noice", - "notify", - } - } + "m4xshen/hardtime.nvim", + dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" }, + opts = { + disable_mouse = true, + disabled_keys = { + -- Drill Sergeant Demchuk! + [""] = { "", "i" }, + [""] = { "", "i" }, + [""] = { "", "i" }, + [""] = { "", "i" }, + }, + disabled_filetypes = { + "checkhealth", + "fugitive", + "help", + "lazy", + "mason", + "markdown", + "neo-tree", + "neo-tree-popup", + "netrw", + "noice", + "notify", + }, + }, }