junegunn / goyo.vim

:tulip: Distraction-free writing in Vim
MIT License
4.49k stars 115 forks source link

Unknown Function: Running Goyo on Ubunti 22.04 #267

Closed vinn2010 closed 1 year ago

vinn2010 commented 2 years ago

I recently switched my config from mac to ubuntu. All other plugins work fine but when I launch Goyo, I get the following error:

Cannot source a directory: "~/.config/nvim/autoload/goyo.vim"
E117: Unknown function: goyo#execute

I looked at the directory for autoload, everything seems to look fine.

Any ideas?

veetase commented 1 year ago

I got this error, too, on macOS Ventura 13.1

veetase commented 1 year ago

I finally get this resolved by renaming the directory ~/.config/nvim/autoload to ~/.config/nvim/plugged, you should also change the path at your vim-plug/plugins.vim.

junegunn commented 1 year ago

I suggest that you use a plugin manager instead of manually managing plugin files.

vinn2010 commented 1 year ago

i used vim plug.