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

[Bug] evil-next-visual-line doesn't scoll past big diagnostics when flymake-show-diagnostics-at-end-of-line is t #1946

Open
johnhamelink opened this issue Dec 20, 2024 · 0 comments

Comments

@johnhamelink
Copy link

johnhamelink commented Dec 20, 2024

Issue type

  • Bug Report

Environment

Emacs version: GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2)
Operating System: NixOS 25.05 (Warbler)
Evil version: Evil version 1.15.0
Evil installation type: ELPA via emacs-overlay
Graphical/Terminal: Graphical (Wayland) and Terminal
Tested in a make emacs session (see CONTRIBUTING.md): N/A (emacs-overlay handles this automatically)

Reproduction steps

  • Start Emacs
  • Eval (setq flymake-show-diagnostics-at-end-of-line t)
  • Open a typescript file, with typescript-ts-mode, flymake & eglot enabled
  • In an emacs-lisp scratch buffer, make some errors and warnings which are long enough that the diagnostic becomes visually multiple lines in the window
  • Eval (evil-next-visual-line)

Expected behavior

Even though the overlay spans multiple visual lines, evil-next-visual-line would move point down to the next visual line that is considered navigable for point (and thus the overlay should be skipped over).

Actual behavior

evil-next-visual-line does not move if the overlay spans multiple visual lines, even if the actual buffer text fits within a single visual line. It works fine when the overlay fits on the visual line.

Further notes

@johnhamelink johnhamelink changed the title evil-next-visual-line and flymake-show-diagnostics-at-end-of-line [Bug] evil-next-visual-line doesn't scoll past big diagnostics when flymake-show-diagnostics-at-end-of-line is t Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant