diff options
author | Gaurav Tyagi | 2022-10-26 02:58:49 +0000 |
---|---|---|
committer | GitHub | 2022-10-26 02:58:49 +0000 |
commit | ba9e50e93b43f102de352ead57c28d86c34a7c73 (patch) | |
tree | 3352681874f10d763416ccdd068a443c32e78bd9 /book | |
parent | 65edf9c19880fe4fd068db6d86c4c2830c8a91f6 (diff) |
Add `:update` that will write the changes if the file has been modified. (#4426)
* add command update that will write the changes if file hasn been modified
* add docs
* update the docs
Diffstat (limited to 'book')
-rw-r--r-- | book/src/generated/typable-cmd.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md index 05a0985b..49e7e778 100644 --- a/book/src/generated/typable-cmd.md +++ b/book/src/generated/typable-cmd.md @@ -44,6 +44,7 @@ | `:show-directory`, `:pwd` | Show the current working directory. | | `:encoding` | Set encoding. Based on `https://encoding.spec.whatwg.org`. | | `:reload` | Discard changes and reload from the source file. | +| `:update` | Write changes only if the file has been modified. | | `:lsp-restart` | Restarts the Language Server that is in use by the current doc | | `:tree-sitter-scopes` | Display tree sitter scopes, primarily for theming and development. | | `:debug-start`, `:dbg` | Start a debug session from a given template with given parameters. | |