From 6ca4a02fc5d0fe3e78150d21c0896646307033ac Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Fri, 2 Feb 2024 12:21:45 +0900 Subject: [PATCH] Update the documentation --- README.md | 1 + doc/dpp.txt | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b8e4f5..178e541 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,7 @@ set nocompatible const s:dpp_base = '~/.cache/dpp/' " Set dpp source path (required) +" NOTE: The plugins must be cloned before. const s:dpp_src = '~/.cache/dpp/repos/github.com/Shougo/dpp.vim' const s:denops_src = '~/.cache/dpp/repos/github.com/denops/denops.vim' diff --git a/doc/dpp.txt b/doc/dpp.txt index f892cc3..4a042bf 100644 --- a/doc/dpp.txt +++ b/doc/dpp.txt @@ -404,6 +404,9 @@ on_source (List) or (String) path (String) Specify the plugin downloaded path. + Default: + "{base-path}/repos/{site-name}/{user-name}/{plugin-name}" + *dpp-plugin-option-rev* rev (String) Specify a revision number or branch/tag name. @@ -419,6 +422,8 @@ rtp (String) If it is empty string, dpp will not add the path to 'runtimepath' + Default: Same of |dpp-plugin-option-path| + ------------------------------------------------------------------------------ HOOKS *dpp-hooks* @@ -594,9 +599,10 @@ EXAMPLES *dpp-examples* const s:dpp_base = '~/.cache/dpp/' " Set dpp source path (required) + " NOTE: The plugins must be cloned before. const s:dpp_src = '~/.cache/dpp/repos/github.com/Shougo/dpp.vim' const s:denops_src = '~/.cache/dpp/repos/github.com/denops/denops.vim' - + " Set dpp runtime path (required) execute 'set runtimepath^=' .. s:dpp_src