doc: clarify system_open, specifying defaults

This commit is contained in:
Alexander Courtis 2023-01-21 11:54:24 +11:00
parent e8a89db1bb
commit 13adc94e8e

View File

@ -539,17 +539,24 @@ until it finds the file.
Type: {string}, Default: `{}` Type: {string}, Default: `{}`
*nvim-tree.system_open* *nvim-tree.system_open*
Configuration options for the system open command. Open a file or directory in your preferred application.
*nvim-tree.system_open.cmd* *nvim-tree.system_open.cmd*
The command to run, leaving empty should work but useful if you want to The open command itself.
override the default command with another one.
Type: `string`, Default: `""` Type: `string`, Default: `""`
Leave empty for OS specific default:
UNIX: `"xdg-open"`
macOS: `"open"`
Windows: "`cmd"`
*nvim-tree.system_open.args* *nvim-tree.system_open.args*
The command arguments as a list. Optional argument list.
Type: {string}, Default: `{}` Type: {string}, Default: `{}`
Leave empty for OS specific default:
Windows: `{ "/c", "start", '""' }`
*nvim-tree.diagnostics* *nvim-tree.diagnostics*
Show LSP and COC diagnostics in the signcolumn Show LSP and COC diagnostics in the signcolumn
Note that the modified sign will take precedence over the diagnostics signs. Note that the modified sign will take precedence over the diagnostics signs.
@ -995,6 +1002,7 @@ Configuration options for trashing.
*nvim-tree.trash.cmd* *nvim-tree.trash.cmd*
The command used to trash items (must be installed on your system). The command used to trash items (must be installed on your system).
The default is shipped with glib2 which is a common linux package. The default is shipped with glib2 which is a common linux package.
Only available for UNIX.
Type: `string`, Default: `"gio trash"` Type: `string`, Default: `"gio trash"`
*nvim-tree.actions* *nvim-tree.actions*