Skip to content

Commit e80a887

Browse files
committed
docs: Add a section of *Package options
Documents the fix for #1282 Closes #1282
1 parent 8a4dc23 commit e80a887

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/user-guide/faq.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,11 @@ keymaps = [
8787

8888
[`map`]: https://nixos.org/manual/nix/stable/language/builtins#builtins-map
8989
[`keymaps`]: ../keymaps
90+
91+
## How to use system provided binaries instead of nixvim provided ones
92+
93+
There are a number of plugins that install extra packages using `nix`, but this can cause issues.
94+
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.
95+
96+
Most plugins that install packages also provide a `xxxPackage` option that can be set to `null` to skip the installation of the package.
97+
For example `plugin.treesitter` provides the `gccPackage` option.

0 commit comments

Comments
 (0)