warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.92k stars 358 forks source link

Occasional Black Line Blocking Display in NeoVim (80% of time) #4579

Open manohar-nalluri opened 5 months ago

manohar-nalluri commented 5 months ago

Discord username (optional)

No response

Describe the bug

Occasionally, a disruptive black line appears, obstructing the display view in NeoVim. T

Issue Detail: When using NeoVim, at intermittent intervals(which is very often), a black line appears on the display, hindering visibility and disrupting the editing process. While i am using other terminal which is the default one or the Iterm there is no similar issue regarding this It is only generated in Warp terminal so it is effecting my development process

To reproduce

I am using lazyvim distro , on top of it I added some of my configuration

Expected behavior

No response

Screenshots

https://github.com/warpdotdev/Warp/assets/58913310/6e4ec276-78a0-4051-9d41-8371a5c3d052

Operating system

MacOS

Operating system and version

macOS 14.3

Shell Version

zsh 5.9 (x86_64-apple-darwin23.0)

Current Warp version

v0.2024.03.12.08.02.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

acarl005 commented 5 months ago

@manohar-nalluri Hm.. that's annoying. Can you try running NeoVim without plugins nvim --clean to see if it appears then?

manohar-nalluri commented 5 months ago

@acarl005 No it is not the case without Plugin when i try to run it with nvim --clean the issue does not appear I think there is an issues with my plugins but the same plugins doesn't cause issue in my iterm terminal. I wil dig deep into to it and update it.

acarl005 commented 5 months ago

It might be an issue with how we render certain ANSI codes. It would be super helpful if you were able to determine a specific plugin, but it helps to know this happens with something in LazyVim, linking it here for context.

manohar-nalluri commented 5 months ago

Hey , I think i got an easy way to recreate the issue i was getting. When ever an plugin is incorrect or has error while loading it

Screenshot 2024-03-21 at 6 40 22 PM

This error is shown when when neovim is opened Then if i continue to edit the file (Or use the neovim normally )without solving it Then that black line is appearing So let me know if the recreation of the issue is helped in an way

acarl005 commented 3 months ago

Hi @manohar-nalluri. Is this issue still affecting you on the latest versions of Warp and LazyVim?

I finally re-created these conditions by installing the latest LazyVim. I edited a random plugins' Lua files located in ~/.local/share/nvim/lazy in order to trigger a runtime error. It turns out I had to disable the folke/noice.nvim and rcarriga/nvim-notify plugins in order to see the error presented as it is in your screenshot (otherwise it appears in a "nvim-notify" notification). However, after dismissing the error with ENTER, I do not see the black line anymore. I am using the default theme for this distro, "tokyonight".

If the issue is still affecting you after updating LazyVim and Warp, can you try again with these changes for me?

  1. Set the colorscheme back to the default, tokyomoon.
  2. Disable the folke/noice.nvim plugin. Add this to your LazyVim config:
    { "folke/noice.nvim", enabled = false }