Docs: remove type from action arguments

This commit is contained in:
Erlend Lind Madsen
2025-01-24 23:13:42 +07:00
parent c4c2d06571
commit 0c5ef5578c

View File

@ -284,7 +284,7 @@ pub const Action = union(enum) {
/// selection exists. /// selection exists.
/// ///
/// Arguments: /// Arguments:
/// - AdjustSelection: left, right, up, down, page_up, page_down, home, end, /// - left, right, up, down, page_up, page_down, home, end,
/// beginning_of_line, end_of_line /// beginning_of_line, end_of_line
/// ///
/// Example: Extend selection to the right /// Example: Extend selection to the right
@ -347,7 +347,7 @@ pub const Action = union(enum) {
/// Create a new split in the given direction. /// Create a new split in the given direction.
/// ///
/// Arguments: /// Arguments:
/// - SplitDirection: right, down, left, up, auto (along the larger dir) /// - right, down, left, up, auto (splits along the larger direction)
/// ///
/// Example: Create split on the right /// Example: Create split on the right
/// keybind = cmd+shift+d=new_split:right /// keybind = cmd+shift+d=new_split:right
@ -356,7 +356,7 @@ pub const Action = union(enum) {
/// Focus a split in a given direction. /// Focus a split in a given direction.
/// ///
/// Arguments: /// Arguments:
/// - SplitFocusDirection: previous, next, up, left, down, right /// - previous, next, up, left, down, right
/// ///
/// Example: Focus split on the right /// Example: Focus split on the right
/// keybind = cmd+right=goto_split:right /// keybind = cmd+right=goto_split:right
@ -368,8 +368,8 @@ pub const Action = union(enum) {
/// Resize the current split in a given direction. /// Resize the current split in a given direction.
/// ///
/// Arguments: /// Arguments:
/// - SplitResizeDirection: up, down, left, right /// - up, down, left, right
/// - The number of pixels to resize the split by /// - the number of pixels to resize the split by
/// ///
/// Example: Move divider up 10 pixels /// Example: Move divider up 10 pixels
/// keybind = cmd+shift+up=resize_split:up,10 /// keybind = cmd+shift+up=resize_split:up,10
@ -381,7 +381,7 @@ pub const Action = union(enum) {
/// Control the terminal inspector visibility. /// Control the terminal inspector visibility.
/// ///
/// Arguments: /// Arguments:
/// - InspectorMode: toggle, show, hide /// - toggle, show, hide
/// ///
/// Example: Toggle inspector visibility /// Example: Toggle inspector visibility
/// keybind = cmd+i=inspector:toggle /// keybind = cmd+i=inspector:toggle