From 4a29c3cc90b48048961331de31c2229cfd71055f Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 30 Aug 2025 00:46:23 +0200 Subject: Removed nvim subtree --- .config/nvim/lua/plugins/hardtime.lua | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .config/nvim/lua/plugins/hardtime.lua (limited to '.config/nvim/lua/plugins/hardtime.lua') diff --git a/.config/nvim/lua/plugins/hardtime.lua b/.config/nvim/lua/plugins/hardtime.lua deleted file mode 100644 index e058b8b..0000000 --- a/.config/nvim/lua/plugins/hardtime.lua +++ /dev/null @@ -1,20 +0,0 @@ -local hardtime = require('hardtime') - --- Function to toggle the hardtime state and echo a message -local hardtime_enabled = true - -function ToggleHardtime() - hardtime.toggle() - hardtime_enabled = not hardtime_enabled - local message = hardtime_enabled and 'hardtime on' or 'hardtime off' - vim.cmd('echo "' .. message .. '"') -end - -hardtime.setup({ - -- hardtime config here - disabled_filetypes = { 'qf', 'netrw', 'NvimTree', 'NvimTree_1', 'lazy', 'mason', 'oil', 'dashboard' }, -}) - -return { - ToggleHardtime = ToggleHardtime, -} -- cgit v1.2.3