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] Invalid line number #331

Open
1 task done
raihanadf opened this issue Feb 11, 2024 · 2 comments
Open
1 task done

[BUG] Invalid line number #331

raihanadf opened this issue Feb 11, 2024 · 2 comments

Comments

@raihanadf
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

image
Every time I import classes or do something wrong in syntax writing, a crash will happen, and this error output comes up. But, this will only happen when I pressed O instead of Enter in the end of the line.

Expected Behavior

It should have behaved normally and wouldn't crash.

Steps To Reproduce

  1. Open up a project
  2. Import classes, for this example write "import 'blabla.dart'"
  3. Enter the class and then create a new line with O instead of Enter
  4. ???

Environment

- OS: Arch Linux
- Flutter version: 3.16.9
- Is flutter in $PATH: yes
- neovim version: v0.10.0

Anything else?

I know I need to search deeply about how to debug this on neovim -> lsp level deep, but unfortunately I don't have much time left lately cause of my uni and job, so I reported this here instead. Please give me any links or references if this issue has any blame on my configuration fault or something :)

@maxfornacon
Copy link

This also happened to me before when I pasted text into a newly created file.

@p4-k4
Copy link

p4-k4 commented Oct 28, 2024

This is still an issue for me too whenever I paste text into any file at all. LSP crashes and have to restart neovim each time.

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

3 participants