From d88bebfbc7a69c0ce0734937affeadb4956cda34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ph=E1=BA=A1m=20B=C3=ACnh=20An?= <111893501+brianhuster@users.noreply.github.com> Date: Tue, 8 Jul 2025 07:31:37 +0700 Subject: [PATCH] docs: misc #34834 Problems: - Miss some entries in `vim_diff.txt` and `index.txt`. - I want to learn about Vim register, but when I type `:h register`, it shows sponsor information instead. Note that unlike Nvim, Vim has a separate session for `*register*` Solution: - Add missing commands to `index.txt`, `vim_diff.txt` - Remove tag `register` from `index.txt` --- runtime/doc/index.txt | 2 ++ runtime/doc/intro.txt | 2 +- runtime/doc/vim_diff.txt | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index c30b393582..dc847c0b5b 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1266,6 +1266,7 @@ tag command action ~ |:delcommand| :delc[ommand] delete user-defined command |:delfunction| :delf[unction] delete a user function |:delmarks| :delm[arks] delete marks +|:detach| :detach detach the current UI |:diffupdate| :dif[fupdate] update 'diff' buffers |:diffget| :diffg[et] remove differences in current buffer |:diffoff| :diffo[ff] switch off diff mode @@ -1525,6 +1526,7 @@ tag command action ~ |:redrawtabline| :redrawt[abline] force a redraw of the tabline |:registers| :reg[isters] display the contents of registers |:resize| :res[ize] change current window height +|:restart| :restart restart the Nvim server |:retab| :ret[ab] change tab size |:return| :retu[rn] return from a user function |:rewind| :rew[ind] go to the first file in the argument list diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt index 07ead852fd..413433795e 100644 --- a/runtime/doc/intro.txt +++ b/runtime/doc/intro.txt @@ -89,7 +89,7 @@ To uninstall Nvim: - Scoop (Windows): `scoop uninstall neovim` ============================================================================== -Sponsor Vim/Nvim development *sponsor* *register* +Sponsor Vim/Nvim development *sponsor* Fixing bugs and adding new features takes a lot of time and effort. To show your appreciation for the work and motivate developers to continue working on diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 899a7ce665..51d6e8ef38 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -225,6 +225,7 @@ MAJOR COMPONENTS - LSP framework |lsp| - Lua scripting |lua| - Parsing engine |treesitter| +- Plugin manager |vim.pack| - Providers - Clipboard |provider-clipboard| - Node.js plugins |provider-nodejs| @@ -298,10 +299,15 @@ Command-line: Commands: - |:checkhealth| +- |:detach| - |:drop| is always available +- |:Inspect| +- |:InspectTree| - |:Man| is available by default, with many improvements such as completion - |:match| can be invoked before highlight group is defined +- |:restart| - |:source| works with Lua +- |:trust| - User commands can support |:command-preview| to show results as you type - |:write| with "++p" flag creates parent directories.