oni icon indicating copy to clipboard operation
oni copied to clipboard

Difficulty getting certain plugins to work

Open markhagemann opened this issue 8 years ago • 4 comments

Having followed the guide at https://github.com/onivim/oni/wiki/Plugins where the example for vim-solarized8 worked, I then tried to install a few other themes such as hydrangea-vim and vim-theme-papaya. When trying to set the colorscheme it would return an error saying that it could not be found.

I also tried to install vim-ss (SilverStripe support) and vim-vue the same way without success.

What I found was the only way I could get it to work was copying these folders into the core folder of Oni which obviously isn't ideal. I assume I'm just missing a step somewhere.

Thanks!

markhagemann avatar Apr 20 '18 15:04 markhagemann

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Apr 20 '18 15:04 oni-bot

Thats odd... I'd expect that cloning the projects into those folders would work fine.

Just to check, the process is :

  • Open ~/.config/oni/plugins on Linux/Mac or %APPDATA%/oni/plugins on Windows.
  • Clone or unzip the plugin into this folder.
  • Close Oni fully and restart it.

If that doesn't work...I'd be interested what the Dev Tools says for Oni.plugins.getAllRuntimePaths(). (That is Help > Developer Tools > Swap to Console.

I'd expect something like this:

image

Which has an awful lot in it...but the important bit is the last 4 lines, where you can see hydrangea-vim and vim-solarized8.

As a separate note, if you happen to already use neovim you can load your init.vim and use a normal vim plugin manager. That is done with "oni.loadInitVim": true, and it will load from ~/.config/nvim/init.vim or %LOCALAPPDATA%/nvim/init.vim.

CrossR avatar Apr 20 '18 22:04 CrossR

Well that's embarassing.. I didn't see the light gray text for windows users to put it in %APPDATA%. Classic after midnight configuring.

This has been resolved. Thanks a lot for the help :)

markhagemann avatar Apr 21 '18 01:04 markhagemann

Glad you got it working, @markhagemann ! And thanks @CrossR for the help! 💯 I'll close this out-

bryphe avatar Apr 24 '18 02:04 bryphe