Skip to content

Commit 13adc94

Browse files
committed
doc: clarify system_open, specifying defaults
1 parent e8a89db commit 13adc94

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

doc/nvim-tree-lua.txt

+12-4
Original file line numberDiff line numberDiff line change
@@ -539,17 +539,24 @@ until it finds the file.
539539
Type: {string}, Default: `{}`
540540

541541
*nvim-tree.system_open*
542-
Configuration options for the system open command.
542+
Open a file or directory in your preferred application.
543543

544544
*nvim-tree.system_open.cmd*
545-
The command to run, leaving empty should work but useful if you want to
546-
override the default command with another one.
545+
The open command itself.
547546
Type: `string`, Default: `""`
548547

548+
Leave empty for OS specific default:
549+
UNIX: `"xdg-open"`
550+
macOS: `"open"`
551+
Windows: "`cmd"`
552+
549553
*nvim-tree.system_open.args*
550-
The command arguments as a list.
554+
Optional argument list.
551555
Type: {string}, Default: `{}`
552556

557+
Leave empty for OS specific default:
558+
Windows: `{ "/c", "start", '""' }`
559+
553560
*nvim-tree.diagnostics*
554561
Show LSP and COC diagnostics in the signcolumn
555562
Note that the modified sign will take precedence over the diagnostics signs.
@@ -995,6 +1002,7 @@ Configuration options for trashing.
9951002
*nvim-tree.trash.cmd*
9961003
The command used to trash items (must be installed on your system).
9971004
The default is shipped with glib2 which is a common linux package.
1005+
Only available for UNIX.
9981006
Type: `string`, Default: `"gio trash"`
9991007

10001008
*nvim-tree.actions*

0 commit comments

Comments
 (0)