-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Formatting plugins insert garbage color codes at beginning of file in foot terminal #18172
Comments
This is very likely a bug in foot. Try the latest nightly of foot (if available) or build from master. |
It's the same when built from master. I'll try reporting it to foot then. |
Looks like foot is sending replies to OSC-4 queries, but neovim isn't recognizing them? |
Turns out the codes were being printed by a fish shell theme (Jomik/fish-gruvbox#7). The issue can be circumvented entirely by disabling the theme in non-interactive sessions: if status is-interactive
theme_gruvbox dark medium
end |
So why is this issue still open? |
Yes, this seems unrelated to neovim. Let's close this. If I misunderstood something and this is in fact a neovim bug let us know and we can reopen this. |
Neovim version (nvim -v)
0.7.0 / 0.8.0-dev+6-gae325e6274 (tested both)
Vim (not Nvim) behaves the same?
no (tested :RustFmt on 8.2.4651)
Operating system/version
Arch Linux 5.17.3-lqx1-1-lqx
Terminal name/version
foot 1.11.0
$TERM environment variable
foot / xterm-256color (tested both)
Installation
Arch Community Repository
How to reproduce the issue
Set up example formatting plugins:
init.lua
:Case A:
src/test.rs
:$ nvim src/test.rs
:RustFmt
Case B:
test.go
:$ nvim test.go
:Format
Expected behavior
(alacritty 0.10.1)
Case A:
Case B:
Actual behavior
(foot 1.11.0)
Case A:
Case B:
The text was updated successfully, but these errors were encountered: