b:defx['paths'] dont update
See original GitHub issueWarning: I will close the issue without the minimal init.vim and the reproduction instructions.
Environment Information
-
defx version(SHA1): 3d36fea
-
OS: Linux
Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
" Your minimal init.vim/vimrc
set rtp+=~/test_nvim/defx.nvim/
The reproduce ways from neovim/Vim starting (Required!)
nvim -u init.vim
:Defx ~
and checkb:defx.paths
, for me, it is['/home/zgp/']
:Defx ~ ~
and checkb:defx.paths
again, for me, it is['/home/zgp/']
, but['/home/zgp/', '/home/zgp/']
be expected.- You will find that the paths are not updated to two item, If I don’t misunderstand the purpose of the paths.
Try to fix it
I found that the window recovery here ignores the changes of the paths: https://github.com/Shougo/defx.nvim/blob/3d36feaf41eb1c6a8411dae34964057783179ad1/rplugin/python3/defx/view.py#L320-L327
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unfortunately, it is feature. But you can understand easily than vimfiler which written in Vim script.
Sorry for that, maybe I didn’t express it clearly. I mean source code comment, defx implementation is difficult for me to understand, there is little comment on important data structures, I can only understand it myself, maybe my development experience is not enough. @Shougo