Skip to content

Commit

Permalink
Update doc/languages-frameworks/neovim.section.md
Browse files Browse the repository at this point in the history
Co-authored-by: Austin Horstman <[email protected]>
  • Loading branch information
teto and khaneliman authored Jan 17, 2025
1 parent 2dfeff1 commit 621ba87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/languages-frameworks/neovim.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ neovim-qt.override {

You can use the new unstable wrapper but the interface may change:
- `autoconfigure`: certain plugins need a custom configuration to work with nix.
For instance, `sqlite-lua` needs `g:sqlite_clib_path` to be set to work. Nixpkgs historically patched these in the plugins with several drawbacks: harder maintainance and making upstream work harder. Per convention, these mandatory bits of configuration are bookmarked in nixpkgs in `passthru.initLua`. Enabling `autoconfigure` adds automatically the snippets required for the plugins to work.
For instance, `sqlite-lua` needs `g:sqlite_clib_path` to be set to work. Nixpkgs historically patched these in the plugins with several drawbacks: harder maintenance and making upstream work harder. Per convention, these mandatory bits of configuration are bookmarked in nixpkgs in `passthru.initLua`. Enabling `autoconfigure` automatically adds the snippets required for the plugins to work.
- `autowrapRuntimeDeps`: append to PATH runtime dependencies of your plugins. For instance `rest.nvim` requires `curl` to work. Enabling `autowrapRuntimeDeps` adds it to the PATH visible by your neovim wrapper (but not your global PATH).
neovim wrapper.
- `luaRcContent`: extra lua code to add to the generated `init.lua`
Expand Down

0 comments on commit 621ba87

Please sign in to comment.