feat: ignore hardtime inside markdown

This commit is contained in:
Devin Haska 2024-04-01 10:53:29 -07:00
parent 5e1b760c7e
commit f7100e7871

View file

@ -1,26 +1,27 @@
return { return {
"m4xshen/hardtime.nvim", "m4xshen/hardtime.nvim",
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" }, dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
opts = { opts = {
disable_mouse = true, disable_mouse = true,
disabled_keys = { disabled_keys = {
-- Drill Sergeant Demchuk! -- Drill Sergeant Demchuk!
["<Up>"] = { "", "i" }, ["<Up>"] = { "", "i" },
["<Down>"] = { "", "i" }, ["<Down>"] = { "", "i" },
["<Left>"] = { "", "i" }, ["<Left>"] = { "", "i" },
["<Right>"] = { "", "i" } ["<Right>"] = { "", "i" },
}, },
disabled_filetypes = { disabled_filetypes = {
"checkhealth", "checkhealth",
"fugitive", "fugitive",
"help", "help",
"lazy", "lazy",
"mason", "mason",
"neo-tree", "markdown",
"neo-tree-popup", "neo-tree",
"netrw", "neo-tree-popup",
"noice", "netrw",
"notify", "noice",
} "notify",
} },
},
} }