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

Weird diagnostics rendering issue #4677

Closed
winged opened this issue Nov 9, 2022 · 1 comment
Closed

Weird diagnostics rendering issue #4677

winged opened this issue Nov 9, 2022 · 1 comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue

Comments

@winged
Copy link

winged commented Nov 9, 2022

Summary

I'm getting weird rendering issues when getting language server diagnostics on the last line of a file. Parts of the line are duplicated, sometimes on the same line, sometimes below. Swapping out the terminal (I've tried xfce4-terminal and alacritty) didn't change the result either, changing the theme also didn't help.

I'm using the following:

  • python-lsp-server 1.6.0-1
  • helix (archlinux build) 22.08.1-1

My config only contains theme, ruler, and indent-guides as well as some unrelated keymaps.

Reproduction Steps

asciicast

Helix log

~/.cache/helix/helix.log The helix log contains a bunch of messages like the following (not from the exact same test run as the recording above, but they looked the same):
2022-11-09T15:03:11.127 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1, character: 39 }, end: Position { line: 1, character: 78 } }, severity: Some(Error), code: None, code_description: None, source: Some("pyflakes"), message: "expected ':'", related_information: None, tags: None, data: None }
2022-11-09T15:03:20.577 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 1, character: 38 }, end: Position { line: 1, character: 91 } }, severity: Some(Error), code: None, code_description: None, source: Some("pyflakes"), message: "non-default argument follows default argument", related_information: None, tags: None, data: None }

Platform

Arch Linux

Terminal Emulator

xfce4-terminal, but it happens with others too

Helix Version

helix 22.08.1

@winged winged added the C-bug Category: This is a bug label Nov 9, 2022
@the-mikedavis
Copy link
Member

Duplicate of #2248

This has been fixed on master

@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2022
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

2 participants