Skip to content

Commit

Permalink
fix(hardtime-nvim): call enable() explicitly, remove redundant keys (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
slowsage authored Oct 5, 2023
1 parent 23dc5e5 commit d79add3
Showing 1 changed file with 4 additions and 29 deletions.
33 changes: 4 additions & 29 deletions lua/astrocommunity/workflow/hardtime-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,15 @@ return {
event = "User AstroFile",
opts = {
disabled_keys = {
["<UP>"] = { "", "i" },
["<DOWN>"] = { "", "i" },
["<LEFT>"] = { "", "i" },
["<RIGHT>"] = { "", "i" },
["<Insert>"] = { "", "i" },
["<Home>"] = { "", "i" },
["<End>"] = { "", "i" },
["<PageUp>"] = { "", "i" },
["<PageDown>"] = { "", "i" },
},
disabled_filetypes = {
"NvimTree",
"TelescopePrompt",
"aerial",
"alpha",
"checkhealth",
"dapui-repl",
"dapui_breakpoints",
"dapui_console",
"dapui_scopes",
"dapui_stacks",
"dapui_watches",
"DressingInput",
"DressingSelect",
"help",
"lazy",
"mason",
"neo-tree",
"neo-tree-popup",
"netrw",
"noice",
"notify",
"prompt",
"qf",
},
},
config = function(_, opts)
require("hardtime").setup(opts)
require("hardtime").enable()
end,
}

0 comments on commit d79add3

Please sign in to comment.