sysinit.vim works like a charm, but I want to fully transit into lua.

How file should be called? sysinit.lua doesn't work.

1 Answer 1


For system wide init in lua you could have a init.lua in {dir}/nvim/init.lua where {dir} is any directory in $XDG_CONFIG_DIRS.

More information with: :help config

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.