init.lua icon indicating copy to clipboard operation
init.lua copied to clipboard

E471: Argument required on using :so

Open droynvoss opened this issue 2 years ago • 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. :)

droynvoss avatar Jan 19 '23 02:01 droynvoss

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

alitokur avatar Jan 25 '23 12:01 alitokur

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

droynvoss avatar Jan 25 '23 12:01 droynvoss

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 = " "

alitokur avatar Jan 25 '23 12:01 alitokur

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

(or just do :version in command mode)

ThePrimeagen avatar Jan 25 '23 13:01 ThePrimeagen

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

Jay-02 avatar Mar 16 '24 00:03 Jay-02