flatten.nvim
flatten.nvim copied to clipboard
should_block hook does not work
To Reproduce Config:
-- buffer opens in a tab so config loads
window = {
open = "tab",
},
-- works properly, otherwise has no effect on the issue
-- block_for = {
-- gitcommit = true,
-- gitrebase = true,
-- nu = true,
-- },
hooks = {
-- does not work: true, false, not set - same result
should_block = function(argv) return true end
-- should_block = function(argv) return false end
}
Expected behavior should_block hook determines when host should be blocked
Desktop (please complete the following information):
- NixOS
- alacritty, neovide
- NVIM v0.10.2
Additional context Initially started with the second config from the README, tried to narrow it down