diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-08-30 00:46:23 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-08-30 00:46:23 +0200 |
| commit | 4a29c3cc90b48048961331de31c2229cfd71055f (patch) | |
| tree | 6e37dd8d43e64aceda22c32e2216d329d77df3b1 /.config/nvim/lua/plugins/hardtime.lua | |
| parent | 39ba69d6c1fc6e507d91570220b47e60e237b02c (diff) | |
| download | dotfiles-4a29c3cc90b48048961331de31c2229cfd71055f.tar.gz dotfiles-4a29c3cc90b48048961331de31c2229cfd71055f.zip | |
Removed nvim subtree
Diffstat (limited to '.config/nvim/lua/plugins/hardtime.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/hardtime.lua | 20 |
1 files changed, 0 insertions, 20 deletions
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, -} |
