mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-16 14:39:23 +03:00
doc/vim: Clarify buildVimPlugin/buildVimPluginFrom2Nix
This commit is contained in:
parent
75a0854b21
commit
2f933d60fb
1 changed files with 3 additions and 1 deletions
|
@ -125,7 +125,7 @@ If one of your favourite plugins isn't packaged, you can package it yourself:
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
easygrep = pkgs.vimUtils.buildVimPlugin {
|
easygrep = pkgs.vimUtils.buildVimPluginFrom2Nix {
|
||||||
name = "vim-easygrep";
|
name = "vim-easygrep";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "dkprice";
|
owner = "dkprice";
|
||||||
|
@ -155,6 +155,8 @@ in
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If your package requires building specific parts, use instead `pkgs.vimUtils.buildVimPlugin`.
|
||||||
|
|
||||||
### Specificities for some plugins
|
### Specificities for some plugins
|
||||||
#### Treesitter
|
#### Treesitter
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue