terryma / vim-smooth-scroll

Make scrolling in Vim more pleasant
312 stars 36 forks source link

Doesn't work with all filetypes #13

Open obxhdx opened 9 years ago

obxhdx commented 9 years ago

I noticed that for some filetypes it doesn't work at all (e.g. tmux, conf).

For example, in any given file, if I exec set filetype=ruby, smooth scrolling works fine, but as soon as I exec set filetype=conf it stops working.

bbrtj commented 5 years ago

For anyone who have this issue: try setting the second argument duration to positive value if you haven't already. With 15 it works flawlessly for me in any filetype, without it there's no scrolling animation in some filetypes (mainly ones without syntax highlighting)