ntk148v / neovim-config

A minimal neovim configuration written in Lua
Apache License 2.0
148 stars 60 forks source link

Installation instructions seem slightly off #9

Closed jnitti closed 1 month ago

jnitti commented 1 month ago

Describe the bug It seems that the installation instructions to simply copy the entire repository into ~/.config/nvim does not play nice with nvim. In specific I believe that not having the init.lua file in the top level of ~/.config/nvim(it is in ~/.config/nvim/nvim/...) makes nvim give up trying to find it and causes problems with finding options.lua, etc.

To Reproduce Steps to reproduce the behavior:

  1. Install nvim as you prefer
  2. Follow the instructions for installation on the README.
  3. Launch nvim. Note that nothing is being installed or run. Call :luafile ~/.config/nvim/nvim/init.lua.
  4. See error.

Expected behavior On first run a config screen for Lazy should appear and show which plugins are being installed, etc. Screenshots Screenshot from 2024-10-11 23-29-21

Desktop (please complete the following information):

To fix this, all I did was cleanup the non-essential files included and hoisted everything up and out of the nested ~/.config/nvim/nvim folder into ~/.config/nvim. This solved everything for me. I apologize if I am missing something obvious, but I don't believe I have.

ntk148v commented 1 month ago

@jnitti thank u for reporting, let me check this. I have done a refactor, so maybe something was broken 😅

ntk148v commented 1 month ago

@jnitti I've fixed it, thank u 💯 close it as it is solved, feel free to reopen it if there is still any issue.