Skip to content

Commit e74aa10

Browse files
committed
doc: add "lockjson/write" func, and so on
1 parent 0bfe4dc commit e74aa10

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

_docs/json-dsl.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,11 @@ Macros are not saved in transaction log (expanded before saving).
430430
431431
### lock.json operators
432432
433+
* `["lockjson/write"] void`
434+
* Writes lock.json to a file
435+
* e.g.
436+
* `["$invert", ["lockjson/write"]]` = `["lockjson/write"]`
437+
433438
* `["lockjson/add", repos Repos, profiles []string]`
434439
* Add `repos` information to `repos[]` array in lock.json.
435440
If `profiles` is not empty, the repository name is added to
@@ -472,6 +477,14 @@ Macros are not saved in transaction log (expanded before saving).
472477
* `["plugconf/delete", "github.com/tyru/caw.vim"]`
473478
* `["$invert", ["plugconf/delete", path]]` = `["plugconf/install", ["$invert", path]]`
474479
480+
### Migration operators
481+
482+
* `["migrate/plugconf/config-func"] void`
483+
* Converts `s:config()` function name to `s:on_load_pre()` in all plugconf files.
484+
* See `volt migrate -help plugconf/config-func` for the details.
485+
* e.g.
486+
* `["$invert", ["migrate/plugconf/config-func"]]` = `["migrate/plugconf/config-func"]`
487+
475488
### Vim directory operators
476489
477490
* `["vimdir/with-install", paths "all" | []ReposPath, expr Expr[* => R]] R`
@@ -482,7 +495,7 @@ Macros are not saved in transaction log (expanded before saving).
482495
* See "Why `vimdir/install` and `vimdir/uninstall` operators do not exist?"
483496
section
484497
485-
### Why `vimdir/install` and `vimdir/uninstall` operators do not exist?
498+
#### Why `vimdir/install` and `vimdir/uninstall` operators do not exist?
486499
487500
We'll describe why `vimdir/install` and `vimdir/uninstall` operators do not
488501
exist, and `vimdir/with-install` exists instead.

0 commit comments

Comments
 (0)