rohit-px2/nvui

How to run nvim with specific arguments?

ahmedkhalf opened this issue · 2 comments

This might be a nood question, but right now im trying to run nvui with those arguments:

nvim -u ~/.local/share/lunarvim/lvim/init.lua

and it doesn't work. How to pass arguments to neovim?

You can forward arguments to Neovim using the -- flag, Neovim-Qt style.
So in your case it would be nvui -- -u ~/.local/share/lunarvim/lvim/init.lua.
You can also specify the nvim to use using --nvim=/path/to/nvim e.g. nvui --nvim=/usr/local/bin/lvim (that's where my Lunarvim installation is on Ubuntu).

nice! tnx