Skip to content

Commit 7160e68

Browse files
committed
doc: tidy help
1 parent 79258f1 commit 7160e68

File tree

1 file changed

+82
-70
lines changed

1 file changed

+82
-70
lines changed

doc/nvim-tree-lua.txt

Lines changed: 82 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Author: Yazdani Kiyan <yazdani.kiyan@protonmail.com>
55
==============================================================================
66
CONTENTS *nvim-tree*
77

8-
1. Introduction nvim-tree-introduction
9-
2. Quickstart nvim-tree-quickstart
10-
3. Commands nvim-tree-commands
11-
4. Setup/Configuration nvim-tree-setup
12-
4.1 Vinegar Style nvim-tree-vinegar
13-
5. Mappings nvim-tree-mappings
14-
6. Highlight Groups nvim-tree-highlight
15-
7. Events nvim-tree-events
16-
7.1 Available Events nvim-tree.events
8+
1. Introduction |nvim-tree-introduction|
9+
2. Quickstart |nvim-tree-quickstart|
10+
3. Commands |nvim-tree-commands|
11+
4. Setup/Configuration |nvim-tree-setup|
12+
4.1 Vinegar Style |nvim-tree-vinegar|
13+
5. Mappings |nvim-tree-mappings|
14+
6. Highlight Groups |nvim-tree-highlight|
15+
7. Events |nvim-tree-events|
16+
7.1 Available Events |nvim-tree.events|
1717

1818
==============================================================================
1919
1. INTRODUCTION *nvim-tree-introduction*
@@ -465,7 +465,7 @@ Configuration options for the system open command.
465465
Type: {string}, Default: `{}`
466466

467467
*nvim-tree.diagnostics*
468-
Show lsp diagnostics in the signcolumn
468+
Show LSP and COC diagnostics in the signcolumn
469469

470470
*nvim-tree.diagnostics.enable*
471471
Enable/disable the feature.
@@ -513,7 +513,6 @@ Git integration with icons and colors.
513513
milliseconds but a few seconds), it will not render anything until the git
514514
process returned the data.
515515

516-
517516
*nvim-tree.filesystem_watchers*
518517
Will use file system watcher (libuv fs_poll) to watch the filesystem for
519518
changes.
@@ -587,16 +586,15 @@ Window / buffer setup.
587586
Type: `string`, Default: `"yes"`
588587

589588
*nvim-tree.view.mappings*
590-
Configuration options for keymaps
589+
Configuration options for |nvim-tree-mappings|
591590

592591
*nvim-tree.view.mappings.custom_only*
593592
Will use only the provided user mappings and not the default otherwise,
594593
extends the default mappings with the provided user mappings.
595594
Type: `boolean`, Default: `false`
596595

597596
*nvim-tree.view.mappings.list*
598-
A list of keymaps that will extend or override the default keymaps,
599-
see |nvim-tree-mappings|.
597+
A list of keymaps that will extend or override the default keymaps.
600598
Type: `table`
601599
Default: see |nvim-tree-default-mappings|
602600

@@ -633,13 +631,13 @@ UI rendering setup
633631
*nvim-tree.renderer.indent_markers*
634632
Configuration options for tree indent markers.
635633

636-
*nvim-tree.renderer.indent_markers.enable*
637-
Display indent markers when folders are open
638-
Type: `boolean`, Default: `false`
634+
*nvim-tree.renderer.indent_markers.enable*
635+
Display indent markers when folders are open
636+
Type: `boolean`, Default: `false`
639637

640-
*nvim-tree.renderer.indent_markers.icons*
641-
Icons shown before the file/directory.
642-
Type: `table`, Default: `{ corner = "└ ", edge = "│ ", item = "│ ", none = " ", }`
638+
*nvim-tree.renderer.indent_markers.icons*
639+
Icons shown before the file/directory.
640+
Type: `table`, Default: `{ corner = "└ ", edge = "│ ", item = "│ ", none = " ", }`
643641

644642
*nvim-tree.renderer.icons*
645643
Configuration options for icons.
@@ -761,54 +759,60 @@ Configuration options for trashing.
761759
*nvim-tree.actions*
762760
Configuration for various actions.
763761

764-
*nvim-tree.actions.change_dir.enable*
765-
Change the working directory when changing directories in the tree.
766-
Type: `boolean`, Default: `true`
762+
*nvim-tree.actions.change_dir*
763+
vim |current-directory| behaviour.
767764

768-
*nvim-tree.actions.change_dir.global*
769-
Use `:cd` instead of `:lcd` when changing directories.
770-
Consider that this might cause issues with the `update_cwd` options.
771-
Type: `boolean`, Default: `false`
765+
*nvim-tree.actions.change_dir.enable*
766+
Change the working directory when changing directories in the tree.
767+
Type: `boolean`, Default: `true`
772768

773-
*nvim-tree.actions.change_dir.restrict_above_cwd*
774-
Restrict changing to a directory above the global current working directory.
775-
Type: `boolean`, Default: `false`
769+
*nvim-tree.actions.change_dir.global*
770+
Use `:cd` instead of `:lcd` when changing directories.
771+
Consider that this might cause issues with the `update_cwd` options.
772+
Type: `boolean`, Default: `false`
773+
774+
*nvim-tree.actions.change_dir.restrict_above_cwd*
775+
Restrict changing to a directory above the global current working directory.
776+
Type: `boolean`, Default: `false`
776777

777778
*nvim-tree.actions.expand_all.max_folder_discovery*
778779
Limit the number of folders being explored when expanding every folders.
779780
Avoids hanging neovim when running this action on very large folders.
780781
Type: `number`, Default: `300`
781782

782-
*nvim-tree.actions.open_file.quit_on_open*
783-
Closes the explorer when opening a file.
784-
It will also disable preventing a buffer overriding the tree.
785-
Type: `boolean`, Default: `false`
783+
*nvim-tree.actions.open_file*
784+
Configuration options for opening a file from nvim-tree.
786785

787-
*nvim-tree.actions.open_file.resize_window*
788-
Resizes the tree when opening a file.
789-
Type: `boolean`, Default: `true`
786+
*nvim-tree.actions.open_file.quit_on_open*
787+
Closes the explorer when opening a file.
788+
It will also disable preventing a buffer overriding the tree.
789+
Type: `boolean`, Default: `false`
790790

791-
*nvim-tree.actions.open_file.window_picker*
792-
Window picker configuration.
791+
*nvim-tree.actions.open_file.resize_window*
792+
Resizes the tree when opening a file.
793+
Type: `boolean`, Default: `true`
793794

794-
*nvim-tree.actions.open_file.window_picker.enable*
795-
Enable the feature. If the feature is not enabled, files will open in window
796-
from which you last opened the tree.
797-
Type: `boolean`, Default: `true`
795+
*nvim-tree.actions.open_file.window_picker*
796+
Window picker configuration.
798797

799-
*nvim-tree.actions.open_file.window_picker.chars*
800-
A string of chars used as identifiers by the window picker.
801-
Type: `string`, Default: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"`
798+
*nvim-tree.actions.open_file.window_picker.enable*
799+
Enable the feature. If the feature is not enabled, files will open in window
800+
from which you last opened the tree.
801+
Type: `boolean`, Default: `true`
802802

803-
*nvim-tree.actions.open_file.window_picker.exclude*
804-
Table of buffer option names mapped to a list of option values that indicates
805-
to the picker that the buffer's window should not be selectable.
806-
Type: `table`
807-
Default:
808-
`{`
809-
`filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame", },`
810-
`buftype = { "nofile", "terminal", "help", }`
811-
`}`
803+
*nvim-tree.actions.open_file.window_picker.chars*
804+
A string of chars used as identifiers by the window picker.
805+
Type: `string`, Default: `"ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"`
806+
807+
*nvim-tree.actions.open_file.window_picker.exclude*
808+
Table of buffer option names mapped to a list of option values that indicates
809+
to the picker that the buffer's window should not be selectable.
810+
Type: `table`
811+
Default:
812+
`{`
813+
`filetype = { "notify", "packer", "qf", "diff", "fugitive", "fugitiveblame", },`
814+
`buftype = { "nofile", "terminal", "help", }`
815+
`}`
812816

813817
*nvim-tree.actions.remove_file.close_window*
814818
Close any window displaying a file when removing the file from the tree.
@@ -849,25 +853,33 @@ Configuration for diagnostic logging.
849853
*nvim-tree.log.types*
850854
Specify which information to log.
851855

852-
*nvim-tree.log.types.all*
853-
Everything.
854-
Type: `boolean`, Default: `false`
856+
*nvim-tree.log.types.all*
857+
Everything.
858+
Type: `boolean`, Default: `false`
855859

856-
*nvim-tree.log.types.profile*
857-
Timing of some operations.
858-
Type: `boolean`, Default: `false`
860+
*nvim-tree.log.types.profile*
861+
Timing of some operations.
862+
Type: `boolean`, Default: `false`
859863

860-
*nvim-tree.log.types.config*
861-
Options and mappings, at startup.
862-
Type: `boolean`, Default: `false`
864+
*nvim-tree.log.types.config*
865+
Options and mappings, at startup.
866+
Type: `boolean`, Default: `false`
863867

864-
*nvim-tree.log.types.copy_paste*
865-
File copy and paste actions.
866-
Type: `boolean`, Default: `false`
868+
*nvim-tree.log.types.copy_paste*
869+
File copy and paste actions.
870+
Type: `boolean`, Default: `false`
867871

868-
*nvim-tree.log.types.git*
869-
Git processing.
870-
Type: `boolean`, Default: `false`
872+
*nvim-tree.log.types.diagnostics*
873+
LSP and COC processing, verbose.
874+
Type: `boolean`, Default: `false`
875+
876+
*nvim-tree.log.types.git*
877+
Git processing, verbose.
878+
Type: `boolean`, Default: `false`
879+
880+
*nvim-tree.log.types.watcher*
881+
*nvim-tree.filesystem_watchers* processing, verbose.
882+
Type: `boolean`, Default: `false`
871883

872884
==============================================================================
873885
4.1 VINEGAR STYLE *nvim-tree-vinegar*

0 commit comments

Comments
 (0)