Open NicolaiRuckel opened 5 years ago
Try it and for me it works. Also neovim 0.2.0 is to old, there was some issues on it, currently minimum supported version is 0.2.2, I use 0.3.1
Sorry, I gave you the nvim-gtk version. My neovim version is 0.3.1 (I edited it in the first comment).
The issue also seems only to occur with folders named exactly .git
.
It works for me too:
nvim --version
NVIM v0.3.2-896-ge53ae88e7
# I have neovim-gtk up to HEAD
nvim-gtk --version
NeovimGtk 0.2.0
I have vim-dirvish installed $ nvim-gtk .git
opens a dirvish buffer with the contents of the .git folder.
Describe the bug I installed the
neovim-gtk-git
package from the AUR. When I try to open a file in the.git
folder from the commandline,neovim-gtk
opens just a new unnamed file.Steps to reproduce the bug Go to any Git repository and run
Alternatively, you could create any folder named
.git
When I open this file with
nvim .git/foo
I can see the line "bar",nvim-gtk .git/foo
opens an empty file in the directory containing the.git
folder.Other files in hidden folders work as expected, e.g.
Both
nvim
andnvim-gtk
show the correct file.Technical information:
828a78b68f15aed381d846cb70ff05b127b6d86e