Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandConfig ¶ added in v1.1.212
type CommandConfig struct { Executable string `json:"executable,omitempty"` // The program to run Arguments []string `json:"args,omitempty"` // The arguments to pass to the executable (filename will automatically be appended) }
CommandConfig respresents the options for launching a command
type Config ¶
type Config struct { KeyBindings map[string]string `json:"keyBindings,omitempty"` Editor EditorConfig `json:"editor,omitempty"` }
Config represents the user configuration options
type EditorConfig ¶ added in v1.1.212
type EditorConfig struct { Command CommandConfig `json:"command,omitempty"` // The command to execute to launch the editor TranslateFilePathForWSL bool `json:"translateFilePathForWSL,omitEmpty"` //nolint:golint,staticcheck // WSL use only. True to translate the path to a Windows path (e.g. when running under WSL but using a Windows editor) TempDir string `json:"tempDir,omitempty"` // Specify the directory to use for temporary files for editing (defaults to OS temp dir) }
EditorConfig represents the user options for external editor
Click to show internal directories.
Click to hide internal directories.