Comments (3)
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.
@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.
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)
- [PLUGIN REQUEST] tflint LSP plugin
- [BUG] unable to add markdownlint-cli2 linter HOT 1
- [BUG] Keymaps having lua funtions in action is not working as expected. HOT 4
- [LSP REQUEST] Jsonnet LSP HOT 1
- [BUG] `lsp-format` should get enabled if enabling `enableLspFormat` HOT 13
- mkNeovimPlugin should put a local variable into scope
- mkNeovimPlugin: settings option description _assumes_ `setup` function HOT 2
- [BUG] plugins.leap: safeLabels = [] does not disable auto-jump HOT 9
- [BUG] `error: Alias bash-language-server is still in node-packages.nix` error when building on current nixos-unstable HOT 18
- [BUG] error: expected a set but found a list HOT 12
- none-ls: updating + refactoring HOT 4
- In-editor "enabled options" and "documentation"
- [BUG] ts-autotag should use `require('...').setup` (treesitter setup is deprecated) HOT 2
- [PLUGIN REQUEST] Firenvim
- [utils] `importLua` function and `luaToNix` script HOT 1
- keymaps marked as silent appear in which-key HOT 2
- Compatible Themes
- [BUG] "global prefix" boolean settings are not converted to int HOT 3
- [BUG] Some tools from upstream are not declared locally HOT 1
- [BUG] Stuck at `Generating remote plugin manifes` on aarch64-linux HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixvim.