Skip to content

Commit b7403ad

Browse files
committed
(mini.deps) Tweak documentation.
1 parent 853f6a4 commit b7403ad

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/mini-deps.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ Primarily, specification is a table with the following fields:
280280
Possible hook names:
281281
- <pre_install> - before creating plugin directory.
282282
- <post_install> - after creating plugin directory.
283-
- <pre_checkout> - before making change in plugin directory.
284-
- <post_checkout> - after making change in plugin directory.
283+
- <pre_checkout> - before making change in existing plugin.
284+
- <post_checkout> - after making change in existing plugin.
285285
Each hook is executed with the following table as an argument:
286286
- <path> (`string`) - absolute path to plugin's directory
287287
(might not yet exist on disk).

lua/mini/deps.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@
277277
--- Possible hook names:
278278
--- - <pre_install> - before creating plugin directory.
279279
--- - <post_install> - after creating plugin directory.
280-
--- - <pre_checkout> - before making change in plugin directory.
281-
--- - <post_checkout> - after making change in plugin directory.
280+
--- - <pre_checkout> - before making change in existing plugin.
281+
--- - <post_checkout> - after making change in existing plugin.
282282
--- Each hook is executed with the following table as an argument:
283283
--- - <path> (`string`) - absolute path to plugin's directory
284284
--- (might not yet exist on disk).

readmes/mini-deps.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ require('mini.deps').setup({ path = { package = path_package } })
7777

7878
To install from standalone repository, replace any occurrence of 'mini.nvim' in the code snippet to 'mini.deps'.
7979

80-
NOTE: 'mini.nvim' is installed in 'pack/deps/start' and not 'pack/deps/opt' to always be included in 'mini.deps' session. If you want to make it "opt" plugin (as any other installed plugin), use 'pack/deps/opt' but add `MiniDeps.add('mini.nvim')` call after 'mini.deps' is set up.
80+
**NOTE**: 'mini.nvim' is installed in 'pack/deps/start' and not 'pack/deps/opt' to always be included in 'mini.deps' session. If you want to make it "opt" plugin (as any other installed plugin), use 'pack/deps/opt' but add `MiniDeps.add('mini.nvim')` call after 'mini.deps' is set up.
8181

8282
## Overview
8383

0 commit comments

Comments
 (0)