-
-
Notifications
You must be signed in to change notification settings - Fork 619
Telescope find_files
Fails update_focused_file
#1815
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
Comments
broken at b17358f |
We have a race condition with two (valid) calls to nvim-tree.lua/lua/nvim-tree.lua Line 165 in 7177d95
The schedule was added here: 64c098d @kyazdani42 can you remember the case that required that schedule? #988 Possible solutions:
Edit: |
I don't think i remember the exact purpose of the schedule to be honest, this change was added last february and i believe back then the code had asynchronous parts that forced me to use schedules here and there. Not sure this is needed anymore. |
Note that after removing the schedule on my end, this feature seems to behave as expected. |
Many thanks @kyazdani42 nvim events and ordering are always tricky ;) |
Reverted following user reported failure: 623cecb?notification_referrer_id=NT_kwDOABb4YrI1MTAzNTU1Nzc2OjE1MDUzNzg#commitcomment-93256546 |
…ile with 15ms default (#1828) * Revert "Revert "fix(#1815): don't schedule find_file calls, debounce update_focused_file with 15ms default (#1820)"" This reverts commit a8d26bb. * fix(#1723): find_file for externally created new file results in folder unable to be opened * fix(#1723): find_file for externally created new file results in folder unable to be opened
Description
Focused file is not updated following telescope find file when git is enabled.
Neovim version
Operating system and version
Linux 6.0.11-arch1-1
nvim-tree version
f8489c9
Minimal config
Steps to reproduce
Expected behavior
b focused
Actual behavior
a focused for telescope case
The text was updated successfully, but these errors were encountered: