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

Neovim periodically emits wrong window title if title option is set #57

Open
Nimmidev opened this issue Aug 17, 2022 · 0 comments
Open

Comments

@Nimmidev
Copy link

Nimmidev commented Aug 17, 2022

Recently i enabled the title option so my polybar on linux would display the current edited file.
For some reason i noticed a flickering in the title when i was typing.
Running xtitle -s to inspect title changes revealed that every so often neovim would emit a wrong title for a split second which caused the flickering.
Here is the output while editing a file called test.sh in /tmp:

test.sh (/tmp) - NVIM
test.sh (/tmp) - NVIM
test.sh + (/tmp) - NVIM
test.sh + (/tmp) - NVIM
[No Name] - NVIM
[No Name] - NVIM
test.sh + (/tmp) - NVIM
test.sh + (/tmp) - NVIM
[No Name] - NVIM
[No Name] - NVIM
test.sh + (/tmp) - NVIM
test.sh + (/tmp) - NVIM

After hours of adjusting my config, enabling and disabling plugins. It seems that cmp-buffer causes the issue.
With the default nvim-cmp setup everything works fine without the buffer source. But as soon as buffer is added to the sources, the [No Name] - NVIM titles start to appear.

My nvim version:

NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser

Features: +acl +iconv +tui

All plugins are on the latest version.
OS: Linux archlinux 5.19.1-arch2-1

@Nimmidev Nimmidev changed the title Periodically emits wrong window title if title option is set Neovim periodically emits wrong window title if title option is set Aug 17, 2022
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

1 participant