I am trying to make sure that my
neovim
configuration gets used for all users. Basically I want my neovim
configuration at ~/.config/nvim
to be used on using the nvim
command with sudo
. Hence I copied ~/.config/nvim
to /etc/xdg/nvim
.
The problem is that I am using astronvim
and it uses an init.lua
file and not init.vim
. According to this I need a sysinit.vim
file. Hence I created a sysinit.vim
file but I am not sure about how I can import my Lua config file within sysinit.vim
. How can make this happen?
Asked by Pranil Chitre
(151 rep)
Feb 17, 2023, 05:01 AM
Last activity: Feb 17, 2023, 10:04 AM
Last activity: Feb 17, 2023, 10:04 AM