Closed LeonardoDaLuz closed 5 months ago
Reading through this again and it doesn't appear that the instructions are incorrect. The installation of AstroNvim should not provide any .exe
file in any folder.
These are the same instructions that neovim recommends and all of the other popular distributions use. I don't personally use windows so I can't help out too much. Check out the Discord server if you want to ask some more questions to other users who probably have experience that can help you.
Yes, there is no .exe in that folder because the tutorial tells you to move it to the nvim.bak folder. I tried simply throwing the template folder into the nvim folder, I tried throwing it into the root folder but it didn't work. I gave up. It could just be like every Windows program where there is an .exe installer that solves everything.
Certainly no one uses Windows to do this tutorial. Hahahaha. Thank you for your attention!
Yeah this is definitely coming from a misunderstanding along the way. You shouldn't be installing the nvim.exe
file into your $env:LOCALAPPDATA\nvim
. If you don't have a previous neovim configuration then that folder will not exist. That is the folder that neovim will look for a configuration. If you don't have one then it will just be stock. I just did a fresh windows 10 installation and followed the installation instructions for neovim and AstroNvim from the documentation and it worked perfectly fine.
It might help to read a bit on how neovim configuration works in general specifically with Windows and how to make a neovim configuration
It finally worked, the thing is that you simply have to ignore the error in the first command, and continue with the others.
My mistake was trying to understand what the commands are doing. KKKK
Yeah, if you have a neovim configuration previously then it will not error.
thank you so much! There could be a hint about this in the tutorial.
Sure, I added an "if exists" text to the instruction: https://docs.astronvim.com/#-installation
Checklist
repro.lua
provided belowNeovim version (nvim -v)
0.95
Operating system/version
windows 11
Terminal/GUI
Windows Terminal
Describe the bug
$env:LOCALAPPDATA\nvim
doesnt exists.git clone --depth 1 https://github.com/AstroNvim/template $env:LOCALAPPDATA\nvim
There is no neovim .exe executable in this folder. Then it won't work.Steps to Reproduce
follow astrovim windows instalation instruction.
Expected behavior
.exe in folder.
Screenshots
No response
Additional Context
My neovim was installed using winget. I Tried instaling .msi also.
Minimal configuration