doc/vim: Clarify buildVimPlugin/buildVimPluginFrom2Nix

This commit is contained in:
Jocelyn Thode 2022-11-14 19:19:20 +01:00 committed by figsoda
parent 75a0854b21
commit 2f933d60fb

View File

@ -125,7 +125,7 @@ If one of your favourite plugins isn't packaged, you can package it yourself:
{ config, pkgs, ... }:
let
easygrep = pkgs.vimUtils.buildVimPlugin {
easygrep = pkgs.vimUtils.buildVimPluginFrom2Nix {
name = "vim-easygrep";
src = pkgs.fetchFromGitHub {
owner = "dkprice";
@ -155,6 +155,8 @@ in
}
```
If your package requires building specific parts, use instead `pkgs.vimUtils.buildVimPlugin`.
### Specificities for some plugins
#### Treesitter