diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 5c4dfed..daf4f6d 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -13,6 +13,7 @@ "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, "edgy.nvim": { "branch": "main", "commit": "ebb77fde6f5cb2745431c6c0fe57024f66471728" }, "gitsigns.nvim": { "branch": "main", "commit": "564849a17bf5c5569e0bae98c8328de9c7a1ed29" }, + "hardtime.nvim": { "branch": "main", "commit": "91c6be1a54fa057002e21ae209a49436bd215355" }, "harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" }, "indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, diff --git a/.config/nvim/lua/custom/plugins/hardtime.lua b/.config/nvim/lua/custom/plugins/hardtime.lua new file mode 100644 index 0000000..c8a478f --- /dev/null +++ b/.config/nvim/lua/custom/plugins/hardtime.lua @@ -0,0 +1,12 @@ +return { + 'm4xshen/hardtime.nvim', + dependencies = { 'MunifTanjim/nui.nvim', 'nvim-lua/plenary.nvim' }, + event = { 'BufReadPre', 'BufNewFile' }, + keys = { + { 'ht', '<Hardtime toggle', desc = '[H]ardtime [T]oggle' }, + { 'hT', '<Hardtime report', desc = '[H]ardtime Report' }, + }, + opts = { + disabled_filetypes = { 'qf', 'lazy', 'mason', 'oil', 'neo-tree' }, + }, +}