Coder Social home page Coder Social logo

Comments (3)

traxys avatar traxys commented on August 29, 2024

Nixvim does not work like home-manager, the extraPlugins are a list of derivations that are directly passed to neovim. You should not really need to use it directly, instead enabling plugins through 'plugins..enable'.

If your plugin is not packaged you will need to either open an issue to request for it, or add the plugin derivation to extraPlugins and the plugin configuration to extraConfigLua.

I think which-key-nvim is not packaged for nixvim so you would need the second approach

from nixvim.

ForsakenHarmony avatar ForsakenHarmony commented on August 29, 2024

@traxys this is an example entry in extraPlugins, so it's already using the second approach

the second approach could just be improved

from nixvim.

traxys avatar traxys commented on August 29, 2024

This is not really the goal of nixvim, the goal is mostly to have a convenient way to map the lua configuration as Nix expressions, and right now the only path we support is through global options in the nixvim module. We may want to explore other ways to package plugins in the future in order to support things like lazy loading, but nobody has looked into that yet.

In the meantime if you want I packaged which-key-nvim as a nixvim module, you can check the options here (The documentation is not the best in the world, we need to improve it too)

Don't hesitate to give suggestions to improve nixvim!

from nixvim.

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.