From 2f933d60fb8788a801c43d1c4c7e16fda7af372c Mon Sep 17 00:00:00 2001 From: Jocelyn Thode Date: Mon, 14 Nov 2022 19:19:20 +0100 Subject: [PATCH] doc/vim: Clarify buildVimPlugin/buildVimPluginFrom2Nix --- doc/languages-frameworks/vim.section.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index 399477c041ab..82ec2592560d 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -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