Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto scroll when repl is not the active window #1164

Open
joshpetit opened this issue Feb 21, 2024 · 3 comments
Open

Auto scroll when repl is not the active window #1164

joshpetit opened this issue Feb 21, 2024 · 3 comments

Comments

@joshpetit
Copy link

Problem Statement

If you press G while in the repl window, it will keep the bottom of the output in view. If you leave that repl though that autoscrolling will stop

Possible Solutions

I'd suggest either making the autoscroll continue even after leaving the buffer

Considered Alternatives

No response

@joshpetit joshpetit changed the title Auto scroll when repl is not active Auto scroll when repl is not the active window Feb 21, 2024
@mfussenegger
Copy link
Owner

I can't reproduce this, for me the auto-scroll continues after leaving the buffer.

@TpouHuK
Copy link

TpouHuK commented Jan 2, 2025

Same here, autoscroll stops after leaving the buffer.

:verbose version
NVIM v0.10.2
Build type: RelWithDebInfo
LuaJIT 2.1.1720049189
Compilation: /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_AS
SERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -f
stack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Og -g -flto=auto -fno-fat-lto-objects -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict
-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fsigned-char -fstack-protector-strong -Wno-conversion
-fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=auto  -DUNIT_TESTING -DHAVE_UNIBILIUM -D_GNU_SOURCE -DINCLUDE_GENERATED_DECLARATIONS -I/usr/include/luajit-2.1 -I/usr/
include -I/builddir/build/BUILD/neovim-0.10.2/redhat-linux-build/src/nvim/auto -I/builddir/build/BUILD/neovim-0.10.2/redhat-linux-build/include -I/builddir/build/BUILD/neovim-0.10.2/redhat-lin
ux-build/cmake.config -I/builddir/build/BUILD/neovim-0.10.2/src

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

I'm using flutter-tools.nvim as debug adapter, maybe that's the culprit.

@TpouHuK
Copy link

TpouHuK commented Jan 2, 2025

Seems to work when i open the window manually, but autoscroll doesn't work when it's opened using rcarriga/nvim-dap-ui .open() command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants