doc/vim: Clarify buildVimPlugin/buildVimPluginFrom2Nix
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user