-
Notifications
You must be signed in to change notification settings - Fork 84
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
Telescope discards 'readonly' #252
Comments
See also: #251 (comment) |
The very basic config: use { 'nvim-telescope/telescope.nvim',
config = function()
require('telescope').setup()
end
} Then try:
|
Same issue here. Seems also related to neovim's neovim/neovim#18743 |
Changing the line barbar.nvim/lua/bufferline/state.lua Line 324 in 0b1ae63
to if not vim.api.nvim_buf_get_option(buffer, 'buflisted') then works for me. |
Sorry, I'm wrong. There are some other barbar.nvim/lua/bufferline/render.lua Line 175 in 0b1ae63
|
Edit: yes, it seems 0.7 is unaffected. Thank you @anuvyklack for the repro Edit 2: Considering that this usage of @romgrk what is your opinion? |
Sorry I might not follow correctly but why is this a barbar issue and not a telescope issue? Does the change from @againxx in barbar's codebase solves the issue? I've tried it on my side with latest neovim master, and it doesn't seem so. For following up with upstream, I guess we should because neovim/neovim#19041 by @lewis6991 seems to have been meant to solve the neovim/neovim#18743 issue, if it's still present we should open an issue. Though I'm still not sure what's going on, comments appreciated. |
Our use of If we were to go through and regex replace
That was my take as well. Edit: Since that PR is merged now I can rebuild nightly and check again. |
I've done the change as it's easy and fixes the issue for those on master. And for the upstream issue, do we have an idea how to make a minimal reproducible config? I don't have much time to create a repro case and I don't use telescope, if someone wants to volunteer to please go ahead. Otherwise let's hear @lewis6991 thoughts, as the second PR on neovim seems to have been meant to fix this. |
It seems the latest Nightly fixes this issue, even still using |
Oh ok, all good then. We can keep edit:
And you have tested before the barbar update right? |
PR #255 works for me. However, the latest nightly build without it still keeps the cursor in insert mode after closing the Telescope window. |
cc @anuvyklack, #251
The text was updated successfully, but these errors were encountered: