mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
docs: Add a section of *Package options
Documents the fix for #1282 Closes #1282
This commit is contained in:
parent
8a4dc239d6
commit
e80a8874ac
1 changed files with 8 additions and 0 deletions
|
@ -87,3 +87,11 @@ keymaps = [
|
||||||
|
|
||||||
[`map`]: https://nixos.org/manual/nix/stable/language/builtins#builtins-map
|
[`map`]: https://nixos.org/manual/nix/stable/language/builtins#builtins-map
|
||||||
[`keymaps`]: ../keymaps
|
[`keymaps`]: ../keymaps
|
||||||
|
|
||||||
|
## How to use system provided binaries instead of nixvim provided ones
|
||||||
|
|
||||||
|
There are a number of plugins that install extra packages using `nix`, but this can cause issues.
|
||||||
|
For example enabling `plugins.treesitter` could add `gcc` to the PATH of neovim, and this could break workflows that rely on the system provided compiler.
|
||||||
|
|
||||||
|
Most plugins that install packages also provide a `xxxPackage` option that can be set to `null` to skip the installation of the package.
|
||||||
|
For example `plugin.treesitter` provides the `gccPackage` option.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue