Minor doc fixes

pull/535/head
Arijit Basu 2 years ago
parent 919a492131
commit 104dc0534b
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

@ -462,8 +462,7 @@ Example:
- YAML: SwitchMode: default - YAML: SwitchMode: default
> **NOTE:** To be specific about which mode to switch to, use > **NOTE:** To be specific about which mode to switch to, use
> `SwitchModeBuiltinKeepingInputBuffer` or > `SwitchModeBuiltin` or `SwitchModeCustom` instead.
> `SwitchModeCustomKeepingInputBuffer` instead.
#### SwitchModeKeepingInputBuffer #### SwitchModeKeepingInputBuffer

@ -100,7 +100,7 @@ pub fn absolute<'a>(util: Table<'a>, lua: &Lua) -> Result<Table<'a>> {
/// ```lua /// ```lua
/// ///
/// xplr.util.explore("/tmp") /// xplr.util.explore("/tmp")
/// xplr.util.explore("/tmp", app.extra_config) /// xplr.util.explore("/tmp", app.explorer_config)
/// -- { { absolute_path = "/tmp/a", ... }, ... } /// -- { { absolute_path = "/tmp/a", ... }, ... }
/// ``` /// ```
/// ///

@ -402,8 +402,7 @@ pub enum ExternalMsg {
/// - YAML: SwitchMode: default /// - YAML: SwitchMode: default
/// ///
/// > **NOTE:** To be specific about which mode to switch to, use /// > **NOTE:** To be specific about which mode to switch to, use
/// > `SwitchModeBuiltinKeepingInputBuffer` or /// > `SwitchModeBuiltin` or `SwitchModeCustom` instead.
/// > `SwitchModeCustomKeepingInputBuffer` instead.
SwitchMode(String), SwitchMode(String),
/// Switch input [mode](https://xplr.dev/en/modes). /// Switch input [mode](https://xplr.dev/en/modes).

Loading…
Cancel
Save