-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
using t_Cs to set undercurl works in vim but not neovim #27801
Comments
|
Is there a way to work around that do the |
What terminal are you using? Bash is not a terminal and XTerm doesn't supoort undercurl. |
I use kitty and it works fine (it shows undercurl as usual). But when I open nvim in a docker container, it has this problem. |
Hmm, the value of |
I have the same issue with st 0.9 (with undercurl patch) and tmux next-3.5 built from git head like a week ago. I have I have the following overrides in tmux.conf just to ensure the feature is enabled.
And outside of neovim undercurl is displayed correctly inside of tmux with, e.g., I assume there is some kind of feature detection based on the value of TERM? Is there any way to override that to force the feature to be enabled? |
For anyone who has a similar problem, I asked chatgpt and got a solution. Here is the answer from gpt
docker exec -it -e TERM=xterm-kitty [container-id] /bin/bash
For me, I just copy xterm-kitty in my kitty install path and it works. docker cp ~/.local/kitty.app/share/terminfo/x/xterm-kitty container_id:/usr/share/terminfo/x/ |
Problem
The
cterm=undercurl
command is not working in nvim. I searched for some solutions and had some progress.cterm=undercurl
in neovim, it will fall back to underline; but in vim, nothing is shown.let &t_Cs = "\e[4:3m"
in neovim, it still fall back to underline; but in vim, undercurl occurs.what should I do to make undercurl occur in neovim. Thanks.
Steps to reproduce
Expected behavior
nvim shows undercurl
Neovim version (nvim -v)
0.10.0-dev
Vim (not Nvim) behaves the same?
no, 8.1.3741
Operating system/version
20.04.1-Ubuntu
Terminal name/version
bash, version 5.0.17
$TERM environment variable
xterm
Installation
appimage
The text was updated successfully, but these errors were encountered: