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

when edit python file with trigger linting warning, unexpected virtual text is showed #3055

Closed
WindSoilder opened this issue Jul 12, 2022 · 2 comments
Labels
C-bug Category: This is a bug

Comments

@WindSoilder
Copy link
Contributor

Summary

Screen.Recording.2022-07-13.at.06.42.23.mov

Reproduction Steps

I tried this:

  1. hx
    input text [1,2,3,4,5,6], there is no space after comma, to trigger python linter warning.

I expected this to happen:
Just warning message is shown

Instead, this happened:
hx shows additional text.

Helix log

~/.cache/helix/helix.log
2022-07-13T06:38:24.303 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 78, character: 68 }, end: Position { line: 78, character: 138 } }, severity: Some(Error), code: None, code_description: None, source: Some("pyflakes"), message: "closing parenthesis ')' does not match opening parenthesis '['", related_information: None, tags: None, data: None }
2022-07-13T06:38:24.988 helix_term::application [WARN] lsp position out of bounds - Diagnostic { range: Range { start: Position { line: 78, character: 67 }, end: Position { line: 78, character: 136 } }, severity: Some(Error), code: None, code_description: None, source: Some("pyflakes"), message: "closing parenthesis ')' does not match opening parenthesis '['", related_information: None, tags: None, data: None }
2022-07-13T06:42:10.567 helix_lsp::transport [ERROR] err <- "2022-07-13 06:42:10,567 CST - WARNING - pylsp.config.config - Failed to load pylsp entry point 'autopep8': No module named 'autopep8'\n"
2022-07-13T06:42:10.665 helix_lsp::transport [ERROR] err <- "2022-07-13 06:42:10,665 CST - WARNING - pylsp.config.config - Failed to load pylsp entry point 'yapf': No module named 'yapf'\n"

Here is my log, but I doubt it doesn't provide any useful information, because my recording time is starting from 2022-07-13T06:42

Platform

macOS

Terminal Emulator

alacritty

Helix Version

helix 22.05 (fb62569)

@WindSoilder WindSoilder added the C-bug Category: This is a bug label Jul 12, 2022
@the-mikedavis
Copy link
Member

Looks like #2248?

@WindSoilder
Copy link
Contributor Author

Oh, yeah, thanks for quickly reply, I'd close it

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
Projects
None yet
Development

No branches or pull requests

2 participants