mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
doc: update Nix code snippets format
Command: `mdcr --config doc/tests/mdcr-config.toml doc/`
This commit is contained in:
parent
5d979e79ce
commit
bcea0cf344
86 changed files with 2485 additions and 1478 deletions
|
@ -91,8 +91,8 @@ wrapNeovimUnstable neovim-unwrapped {
|
|||
You can explore the configuration with`nix repl` to discover these options and
|
||||
override them. For instance:
|
||||
```nix
|
||||
neovim.overrideAttrs(oldAttrs: {
|
||||
autowrapRuntimeDeps = false;
|
||||
neovim.overrideAttrs (oldAttrs: {
|
||||
autowrapRuntimeDeps = false;
|
||||
})
|
||||
```
|
||||
|
||||
|
@ -117,9 +117,9 @@ top-level while luarocks installs them in various subfolders by default.
|
|||
For instance:
|
||||
```nix
|
||||
{
|
||||
rtp-nvim = neovimUtils.buildNeovimPlugin {
|
||||
rtp-nvim = neovimUtils.buildNeovimPlugin {
|
||||
luaAttr = luaPackages.rtp-nvim;
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
To update these packages, you should use the lua updater rather than vim's.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue