You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neovim version
NVIM v0.6.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compiled by runneradmin@fv-az152-430
Features: -acl +iconv +tui
Nvim-tree version f938bcb 2022-02-08 (HEAD -> master, origin/master, origin/HEAD) fix: cleanup all dirs when hijacking window [kiyan]
Describe the bug
In windows, after open any file which attached by any LS configed by nvim-lspconfig, NvimTreeFindFile do not work properly on any further opened files attached by same LS. That is I can open nvim-tree but can not reveal the file in nvim-tree.
To Reproduce
Open a file in workspace and wait a few second until LS that attaches the file completes initialization
Open other file attached by the same LS. Note that no matter how you open it (by e filename or by telescope or by goto definetion of LS), this file's bufname is a full path starting with lower case of driver letter which cause the problem
NvimTreeFindFile or NvimTreeOpen can't put the cursor in that file in nvim-tree.
Expected behavior NvimTreeFindFile or NvimTreeOpen can reveal the file in nvim-tree.
The text was updated successfully, but these errors were encountered:
TreeExplorer.cwd in nvim-tree is a full path starting with upper case of driver letter like C:\\Users\\younger\\.config\\nvim, while file's bufname is a full path starting with lower case of driver letter like c:\Users\younger\.config\nvim\lua\young\cfg\global.lua (echo nvim_buf_get_name(0))
OS
Win10 19043
Neovim version
NVIM v0.6.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compiled by runneradmin@fv-az152-430
Features: -acl +iconv +tui
Nvim-tree version
f938bcb 2022-02-08 (HEAD -> master, origin/master, origin/HEAD) fix: cleanup all dirs when hijacking window [kiyan]
Describe the bug
In windows, after open any file which attached by any LS configed by
nvim-lspconfig
,NvimTreeFindFile
do not work properly on any further opened files attached by same LS. That is I can open nvim-tree but can not reveal the file in nvim-tree.To Reproduce
e filename
or bytelescope
or bygoto definetion
ofLS
), this file's bufname is a full path starting with lower case of driver letter which cause the problemNvimTreeFindFile
orNvimTreeOpen
can't put the cursor in that file in nvim-tree.Expected behavior
NvimTreeFindFile
orNvimTreeOpen
can reveal the file in nvim-tree.The text was updated successfully, but these errors were encountered: