Describe the bug
When stick scroll is enabled, zt behaves as if it can never go to the top of the file but is restricted to go as far as "top" - editor.stickyScroll.maxLineCount. Which means that, if editor.stickyScroll.maxLineCount is 20, zt will always have a scroll offset of 20, independent of how many lines stick scroll may actually be showing/using.
To Reproduce
Set editor.stickyScroll.maxLineCount option to 20
Use zt in normal mode
Observe that "top" of zt is 20 lines below the top.
Expected behavior
Either go to the actual top as if no scroll offset would exist, independent of what sticky scrolling may be showing, or to to the line directly below the actual content of sticky scroll. Don't use editor.stickyScroll.maxLineCount as fixed scroll offset.
Screenshots
Environment (please complete the following information):
Describe the bug When stick scroll is enabled, zt behaves as if it can never go to the top of the file but is restricted to go as far as "top" - editor.stickyScroll.maxLineCount. Which means that, if editor.stickyScroll.maxLineCount is 20, zt will always have a scroll offset of 20, independent of how many lines stick scroll may actually be showing/using.
To Reproduce
Expected behavior Either go to the actual top as if no scroll offset would exist, independent of what sticky scrolling may be showing, or to to the line directly below the actual content of sticky scroll. Don't use editor.stickyScroll.maxLineCount as fixed scroll offset.
Screenshots
Environment (please complete the following information):
Additional context