ThePrimeagen/init.lua

E471: Argument required on using :so

dipyamanroy opened this issue · 5 comments

Summary

Hi, I'm a vim novice, so I'm not sure why this error comes up and I haven't found a comprehensive solution on the internet so far. Upon creating the plugins remap.lua, using :so to source the file returns E471: Argument required.

image


Issue

Command used: :so
Location: File remap.lua

Any fix would be greatly appreciated.
:)

hey @0xd1r
did you try to do clean install?

Yeah, I just built 0.9.x from source. Having the issue. @alitokur

before the installation maybe you can remove other configs.

rm -rf nvim
rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim

I think the root cause is vim. cmd.Ex, but to be sure, can u remove the second line? just try :so with the first line.

vim.g.mapleader = " "

can you do vim and print out the version it displays?

(or just do :version in command mode)

Can you please explain why this happens in more detail?
Thank you in advance.../