Git Product home page Git Product logo

Comments (7)

ttchin avatar ttchin commented on September 21, 2024 2

I got rid of autoload usage in latest main branch. Please confirm if it fixes the issue.

Yes, it works now!

from zenbones.nvim.

mcchrish avatar mcchrish commented on September 21, 2024

I tested this out and can replicate. I also tested other colorschemes that uses autoload like everforest and onedark and see the same issue.

Meanwhile it works with vim-plug. In neovim it works with packer as well which just use native package manager under the hood.

Some work around that works:

  1. Call colorscheme zenbones in the after dir ~/.vim/after/plugin. Or
  2. Use the opt dir instead of start, then call packadd zenbones.nvim before calling colorscheme. This is actually what everforest recommends when using the builtin package manager: https://github.com/sainnhe/everforest/blob/becc25f317b23983fb9c422c7f22e0ac8e4b07a8/doc/everforest.txt#L46-L56.

I'm inclined this is a vim bug since vim-plug and neovim just works.

Onedark also recommend the same install as everforest: https://github.com/joshdick/onedark.vim#installation. Probably need to document it here as well.

from zenbones.nvim.

craigmac avatar craigmac commented on September 21, 2024

I wouldn't say it's a Vim bug, those authors are not following the way Vim runtimepath directories are documented to be sourced - they've went a different way which is fine, but that's on them. I've just copied the the zenbones_light.vim one I wanted into my colors directory and removed some of it's boilerplate to make it work.

from zenbones.nvim.

ttchin avatar ttchin commented on September 21, 2024

I have the same issue here and I got the problem after I updated zenbones.nvim three days ago.
I'm not sure which commit induced this flaw.

from zenbones.nvim.

mcchrish avatar mcchrish commented on September 21, 2024

For now look at the work around mentioned above or use v0.19 https://github.com/mcchrish/zenbones.nvim/releases/tag/v0.19.1 which is before the refactor was applied.

from zenbones.nvim.

mcchrish avatar mcchrish commented on September 21, 2024

I got rid of autoload usage in latest main branch.
Please confirm if it fixes the issue.

from zenbones.nvim.

craigmac avatar craigmac commented on September 21, 2024

Works!

from zenbones.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.