Skip to content

Instantly share code, notes, and snippets.

@Olical
Created August 2, 2020 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Olical/9812a65721b28604fc856769db5277a8 to your computer and use it in GitHub Desktop.
Save Olical/9812a65721b28604fc856769db5277a8 to your computer and use it in GitHub Desktop.
Conjure school without installing Conjure!
# Try an interactive Conjure tutorial without installing Conjure!
# All you need is curl and an up to date nvim.
curl -fL conjure.fun/school | sh
@mjobuda
Copy link

mjobuda commented Aug 24, 2021

Error detected while processing VimEnter Autocommands for "*
":
E492: Not an editor command: ConjureSchool

@Olical
Copy link
Author

Olical commented Aug 24, 2021

Sorry about the error, I think it has something to do with a change in Neovim 0.5+, possibly around the runtimepath although I'm not sure yet. If you install the plugin (without using this temporary approach) you should be able to execute :ConjureSchool absolutely fine though.

I guess the technique I used to temporarily add Conjure onto the runtimepath no longer works 🤔

@Olical
Copy link
Author

Olical commented Aug 24, 2021

So I'm not fully sure on the issue but it looks like I need to add --cmd "source $PREFIX/conjure-master/plugin/conjure.vim" to school.sh now too, that wasn't required before but I guess something in Neovim changed. Not sure what, probably around plugin management and the packpath / packadd thing.

@Olical
Copy link
Author

Olical commented Aug 24, 2021

Should be fixed on develop will be released once I'm done with some other work. Just a note that it's fixed somewhere upstream and until then you'll need to install it through a plugin manager to use the school, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment