mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
fix(scroll): disable scroll by default for terminals
This commit is contained in:
parent
d04cf1dc4f
commit
7b5a78a5c7
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ local defaults = {
|
|||
},
|
||||
-- what buffers to animate
|
||||
filter = function(buf)
|
||||
return vim.g.snacks_scroll ~= false and vim.b[buf].snacks_scroll ~= false
|
||||
return vim.g.snacks_scroll ~= false and vim.b[buf].snacks_scroll ~= false and vim.bo[buf].buftype ~= "terminal"
|
||||
end,
|
||||
debug = false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue