fix asciidoc for tabs.mode_on_change

This commit is contained in:
Marc Jauvin 2018-01-15 09:00:06 -05:00
parent 21fc848839
commit f3b52aaf23
2 changed files with 15 additions and 9 deletions

View File

@ -242,7 +242,7 @@
|<<tabs.new_position.related,tabs.new_position.related>>|Position of new tabs opened from another tab.
|<<tabs.new_position.unrelated,tabs.new_position.unrelated>>|Position of new tabs which aren't opened from another tab.
|<<tabs.padding,tabs.padding>>|Padding (in pixels) around text for tabs.
|<<tabs.persist_mode_on_change,tabs.persist_mode_on_change>>|Stay in insert/passthrough mode when switching tabs.
|<<tabs.mode_on_change,tabs.mode_on_change>>|Set input mode behavior when switching tab.
|<<tabs.pinned.shrink,tabs.pinned.shrink>>|Shrink pinned tabs down to their contents.
|<<tabs.position,tabs.position>>|Position of the tab bar.
|<<tabs.select_on_remove,tabs.select_on_remove>>|Which tab to select when the focused tab is removed.
@ -2825,13 +2825,19 @@ Default:
- +pass:[right]+: +pass:[5]+
- +pass:[top]+: +pass:[0]+
[[tabs.persist_mode_on_change]]
=== tabs.persist_mode_on_change
Stay in insert/passthrough mode when switching tabs.
[[tabs.mode_on_change]]
=== tabs.mode_on_change
When switching tabs, what input mode is applied.
Type: <<types,Bool>>
Type: <<types,String>>
Default: +pass:[false]+
Valid values:
* +persist+: Retain the current mode.
* +restore+: Restore previously saved mode.
* +normal+: Always revert to normal mode.
Default: +pass:[normal]+
[[tabs.pinned.shrink]]
=== tabs.pinned.shrink

View File

@ -1256,9 +1256,9 @@ tabs.mode_on_change:
type:
name: String
valid_values:
- persist: "retain the current mode."
- restore: "restore previously saved mode"
- normal: "always revert to normal mode"
- persist: "Retain the current mode."
- restore: "Restore previously saved mode."
- normal: "Always revert to normal mode."
desc: When switching tabs, what input mode is applied.
tabs.position: