sonph / onehalf

Clean, vibrant and pleasing color schemes for Vim, Sublime Text, iTerm, gnome-terminal and more.
MIT License
1.78k stars 236 forks source link

I cannot get the theme to load #85

Closed alexaandru closed 4 years ago

alexaandru commented 4 years ago

Hello,

I've followed the instructions at https://github.com/sonph/onehalf#vim but I cannot get the theme to load. I am using neovim v0.5.0-nightly-1-gd8c5d12 with https://github.com/junegunn/vim-plug as the plugin manager, I have ran nvim +PlugInstall and I can confirm the plugin is installed, find ~/.local/share/nvim/plugged/onedark.vim shows that the files are in there:

/home/alex/.local/share/nvim/plugged/onedark.vim/
/home/alex/.local/share/nvim/plugged/onedark.vim/term
/home/alex/.local/share/nvim/plugged/onedark.vim/term/One Dark.alacritty
/home/alex/.local/share/nvim/plugged/onedark.vim/term/One Dark.kitty
/home/alex/.local/share/nvim/plugged/onedark.vim/term/One Dark.terminal
/home/alex/.local/share/nvim/plugged/onedark.vim/term/One Dark.Xresources
/home/alex/.local/share/nvim/plugged/onedark.vim/term/One Dark.itermcolors
/home/alex/.local/share/nvim/plugged/onedark.vim/img
/home/alex/.local/share/nvim/plugged/onedark.vim/img/preview_airline.png
/home/alex/.local/share/nvim/plugged/onedark.vim/img/preview_lightline.png
/home/alex/.local/share/nvim/plugged/onedark.vim/img/readme_header.png
/home/alex/.local/share/nvim/plugged/onedark.vim/img/broken_italics.png
/home/alex/.local/share/nvim/plugged/onedark.vim/img/broken_colors.png
/home/alex/.local/share/nvim/plugged/onedark.vim/img/color_reference.png
/home/alex/.local/share/nvim/plugged/onedark.vim/colors
/home/alex/.local/share/nvim/plugged/onedark.vim/colors/onedark.vim
/home/alex/.local/share/nvim/plugged/onedark.vim/autoload
/home/alex/.local/share/nvim/plugged/onedark.vim/autoload/lightline
/home/alex/.local/share/nvim/plugged/onedark.vim/autoload/lightline/colorscheme
/home/alex/.local/share/nvim/plugged/onedark.vim/autoload/lightline/colorscheme/onedark.vim
/home/alex/.local/share/nvim/plugged/onedark.vim/autoload/airline
/home/alex/.local/share/nvim/plugged/onedark.vim/autoload/airline/themes
/home/alex/.local/share/nvim/plugged/onedark.vim/autoload/airline/themes/onedark.vim
/home/alex/.local/share/nvim/plugged/onedark.vim/autoload/onedark.vim
/home/alex/.local/share/nvim/plugged/onedark.vim/README.md
/home/alex/.local/share/nvim/plugged/onedark.vim/build
/home/alex/.local/share/nvim/plugged/onedark.vim/build/package.json
/home/alex/.local/share/nvim/plugged/onedark.vim/build/templates
/home/alex/.local/share/nvim/plugged/onedark.vim/build/templates/One Dark.alacritty
/home/alex/.local/share/nvim/plugged/onedark.vim/build/templates/One Dark.kitty
/home/alex/.local/share/nvim/plugged/onedark.vim/build/templates/One Dark.terminal
/home/alex/.local/share/nvim/plugged/onedark.vim/build/templates/One Dark.Xresources
/home/alex/.local/share/nvim/plugged/onedark.vim/build/templates/autoload.template.vim
/home/alex/.local/share/nvim/plugged/onedark.vim/build/templates/One Dark.itermcolors
/home/alex/.local/share/nvim/plugged/onedark.vim/build/package-lock.json
/home/alex/.local/share/nvim/plugged/onedark.vim/build/.eslintrc.json
/home/alex/.local/share/nvim/plugged/onedark.vim/build/build.js
/home/alex/.local/share/nvim/plugged/onedark.vim/build/.snyk
/home/alex/.local/share/nvim/plugged/onedark.vim/.github
/home/alex/.local/share/nvim/plugged/onedark.vim/.github/ISSUE_TEMPLATE.md
/home/alex/.local/share/nvim/plugged/onedark.vim/.github/workflows
/home/alex/.local/share/nvim/plugged/onedark.vim/.github/workflows/nodejs.yml
/home/alex/.local/share/nvim/plugged/onedark.vim/.gitignore
/home/alex/.local/share/nvim/plugged/onedark.vim/LICENSE
/home/alex/.local/share/nvim/plugged/onedark.vim/CONTRIBUTING.md

Now, I'm a bit rusty at Vim, having used VS Code for a few years, but it does not look like the plugin is under a vim/ folder, so the rtp parameter from the README seems wrong? So I removed the rtp parameter and tried that way, but also no luck. I just can't get it to load...

Thank you! Alex

Dettorer commented 4 years ago

Hi, I think you got it wrong, the files you are listing are from the "onedark.vim" plugin, which is not the same as the present one.

I just installed onehalf with plug-vim with Plug 'sonph/onehalf', { 'rtp': 'vim' } and it works.

alexaandru commented 4 years ago

Oops, my bad. Sorry for the noise, you are correct, your plugin works as expected. Thank you! :)