GithubHelp home page GithubHelp logo

Comments (7)

xeluxee avatar xeluxee commented on June 3, 2024 1

Also now onedark_disable_toggle_style is deprecated, please see https://github.com/navarasu/onedark.nvim#toggle-style

from onedark.nvim.

mbenford avatar mbenford commented on June 3, 2024 1

@navarasu I updated my configuration the second I saw the commit. 😀

from onedark.nvim.

xeluxee avatar xeluxee commented on June 3, 2024

I don't know why it doesn't work
Anyway try removing config = 'require"plugins/onedark"' from packer config, since it's useless

from onedark.nvim.

xeluxee avatar xeluxee commented on June 3, 2024

Sorry I've misunderstood your config 😅
Maybe you should move require'onedark'.setup() command outside the config function, after the plugin is loaded

from onedark.nvim.

mbenford avatar mbenford commented on June 3, 2024

@xeluxee I might be wrong, but I think the correct way to run some code after a plugin is loaded is by using the config function. Otherwise the code might run before the plugin is available since Packer might lazy load things.

from onedark.nvim.

xeluxee avatar xeluxee commented on June 3, 2024

You're right, config function function is executed after plugin is loaded
But you should declare vim.g.onedark* variables before plugin is loaded, because onedark.nvim loads them immediately after it's loaded.
I've just tried to move my onedark options into config function and I've noticed they are ignored.

from onedark.nvim.

navarasu avatar navarasu commented on June 3, 2024

@mbenford Now this plugin updated with new lua setup option. Take an update and check with new config

from onedark.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.