Closed fcying closed 7 years ago
I have created t
directory and tested it, but I cannot reproduce the behavior.
I have tested the below vimrc.
set rtp+=~/.cache/dein/repos/github.com/Shougo/denite.nvim
filetype plugin indent on
syntax enable
nnoremap <silent> ff :<C-u>Denite file_rec<CR>
only reproduce in windows..
I test in ubuntu, it work right.
Oh.... It is hard to fix.
Please check the code.
https://github.com/Shougo/denite.nvim/blob/master/rplugin/python3/denite/ui/default.py#L466
@Shougo
Interesting behavior when opening testvim
folder via :Denite file_rec
command.
If you delete the folder testvim\t
, then it works fine.
Magic folder (testvim)
Normal folder (without testvim\t
)
Wow! The initial window is already closed. I don't know why...
This is reproduced on the latest Vim and denite?
No response.
It can be reproduced on the Vim 8.0.728 and the latest denite in windows 10x64.
@fcying It seems Vim related problem. It can be reproduced in neovim?
And you can debug it.
Denite uses quit_buffer()
function to quit the buffer.
It can be reproduced in neovim, If I use the folder 't', it make error. NVIM v0.2.1-578-g07972f9e5 reproduced way: cd D:\tool\testvim d:\tool\Neovim\bin\nvim-qt ff
I have not used python....I'll try on the weekend.
It seems the another problem. Because it is not when quit.
Why nomodifiable is set?
Please check the denite buffer.
It seems open wrong buffer.
Please check :silent keepalt new botright [denite]
behavior from the command line.
I think it is broken.
Oh, I get it. [denite]
is used as wildcard in Windows.
I will fix the problem.
I update the latest version. nvim work fine now. vim make a lot of error.
@fcying I have fixed the errors.
Now everything is working fine~
Problems summary
when I use
esc
orq
to exit the denite, it can't return to the last file.============================================== I found the cause, my test folder have a
t
folder, when I rename or delete it, denite will work right. I test in other folder, when I create a new folder namet
, then denite will work error.Expected
exit the denite return to the last edit file
Environment Information (Required!)
denite version(SHA1): 99f94a9b010e2225f899bd52ac9f0ae80fe668dd
OS: win10
Vim/neovim version: vim8 MS-Windows 64-bit GUI version Included patches: 1-596
Provide a minimal init.vim with less than 50 lines (Required!)
The reproduce ways from neovim starting (Required!)
ff
esc
or typec-o, q
Screen shot (if possible)
vim test.c type
ff
typeesc
testvim.zipUpload the log file
messages has nothing.