From ce4aa1e5b1f4d68fe3c9693099f616ac6e200908 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 7 Aug 2024 23:17:26 +0300 Subject: refactor(nvim): configured hardtime to be less annoying --- .config/nvim/lua/custom/plugins/hardtime.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/custom/plugins/hardtime.lua') diff --git a/.config/nvim/lua/custom/plugins/hardtime.lua b/.config/nvim/lua/custom/plugins/hardtime.lua index 8c0f89f..098c77f 100644 --- a/.config/nvim/lua/custom/plugins/hardtime.lua +++ b/.config/nvim/lua/custom/plugins/hardtime.lua @@ -7,6 +7,10 @@ return { { 'hT', '<Hardtime report', desc = '[H]ardtime Report' }, }, opts = { - disabled_filetypes = { 'qf', 'lazy', 'mason', 'oil', 'neo-tree', 'ClangdAST' }, + restriction_mode = 'hint', + restricted_keys = { + ['h'] = {}, + ['l'] = {}, + }, }, } -- cgit v1.3.1