Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ request: Why is Lunarvim using an install script? #431

Open
j-o-sh opened this issue Oct 17, 2023 · 1 comment
Open

FAQ request: Why is Lunarvim using an install script? #431

j-o-sh opened this issue Oct 17, 2023 · 1 comment

Comments

@j-o-sh
Copy link

j-o-sh commented Oct 17, 2023

Hi, amazing Lunarvim contributers,

Since Neovim is highly configurable by simply adding Lua scripts to the .config folder, it feels a bit strange that Lunarvim uses a complex install script that I am not easily able to check what it does.

I assume there are really good reasons why Lunarvim is more than a bunch of .config/nvim scripts .However it would be awesome if the docs would explain a bit what the install script does and why it is necessary.

As mentioned in the title, I could imagine this being a FAQ entry?

Thx

@LostNeophyte
Copy link
Member

It's not really a frequently asked question, i think this is the first time i see someone asking it, and i did spend months on the discord responding to questions. I'm not opposed to this info being in the docs, but im not sure where to put it, it can be the faq

(Disclaimer: i wasn't a part of the team when the script was created, this is just what i think the reason is. And this is from memory, i didn't look at the script, i currently don't have time for lvim, just randomly saw this and decided to respond)

The script is probably there because we use a bash/PowerShell script to start lvim to set custom runtime directories so that the configuration is separate from the default nvim one(this was our unique feature). This is currently possibly just with NVIM_APPNAME, but it didn't exist when lvim was created. So the script installs dependencies and git clones the lvim repo to the custom directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants