|
83 | 83 | ---@field hl? string | string[]
|
84 | 84 |
|
85 | 85 |
|
| 86 | +--- Empty section. |
86 | 87 | ---@class statuscolumn.parts.empty
|
87 | 88 | ---
|
| 89 | +--- Condition for this component. |
| 90 | +---@field condition? fun(buffer: integer, window: integer, statuscolumn: string): boolean |
| 91 | +--- |
| 92 | +--- What kind of part is this? |
88 | 93 | ---@field kind "empty"
|
| 94 | +--- |
| 95 | +--- How many columns should this span? |
89 | 96 | ---@field len integer
|
90 | 97 | ---
|
| 98 | +--- Highlight group for this section. |
91 | 99 | ---@field hl? string
|
92 | 100 |
|
93 | 101 |
|
| 102 | +--- Border for the statuscolumn. |
94 | 103 | ---@class statuscolumn.parts.border
|
95 | 104 | ---
|
| 105 | +--- What kind of component is this? |
96 | 106 | ---@field kind "border"
|
97 | 107 | ---
|
| 108 | +--- Text to use for the border. |
| 109 | +--- Can be a list to create a gradient. |
98 | 110 | ---@field text string | string[]
|
| 111 | +--- |
| 112 | +--- Highlight group for the border. |
| 113 | +--- Can be a list to create a gradient. |
99 | 114 | ---@field hl? string | string[]
|
100 | 115 |
|
101 | 116 |
|
| 117 | +--- Fold column for the statuscolumn. |
102 | 118 | ---@class statuscolumn.parts.folds
|
103 | 119 | ---
|
| 120 | +--- What kind of component is this? |
104 | 121 | ---@field kind "folds"
|
105 | 122 | ---
|
| 123 | +--- Text to show for closed fold. |
| 124 | +--- Can be a list to use a different |
| 125 | +--- text for different levels of folds. |
106 | 126 | ---@field close_text string | string[]
|
| 127 | +--- |
| 128 | +--- Highlight group for the `close_text`. |
| 129 | +--- Can be a list to assign different |
| 130 | +--- colors to different fold level. |
107 | 131 | ---@field close_hl? string | string[]
|
108 | 132 | ---
|
| 133 | +--- Text to show for opened fold. |
| 134 | +--- Can be a list to use a different |
| 135 | +--- text for different levels of folds. |
109 | 136 | ---@field open_text string | string[]
|
| 137 | +--- |
| 138 | +--- Highlight group for the `open_text`. |
| 139 | +--- Can be a list to assign different |
| 140 | +--- colors to different fold level. |
110 | 141 | ---@field open_hl? string | string[]
|
111 | 142 | ---
|
| 143 | +--- Text to show the scope of opened fold. |
| 144 | +--- Can be a list to use a different |
| 145 | +--- text for different levels of folds. |
112 | 146 | ---@field scope_text string | string[]
|
| 147 | +--- |
| 148 | +--- Highlight group for the `scope_text`. |
| 149 | +--- Can be a list to assign different |
| 150 | +--- colors to different fold level. |
113 | 151 | ---@field scope_hl? string | string[]
|
114 | 152 | ---
|
| 153 | +--- Text to show at the end of opened fold. |
| 154 | +--- Can be a list to use a different |
| 155 | +--- text for different levels of folds. |
115 | 156 | ---@field scope_end_text string | string[]
|
| 157 | +--- |
| 158 | +--- Highlight group for the `scope_end_text`. |
| 159 | +--- Can be a list to assign different |
| 160 | +--- colors to different fold level. |
116 | 161 | ---@field scope_end_hl? string | string[]
|
117 | 162 | ---
|
| 163 | +--- Text to show where fold level changes. |
| 164 | +--- Can be a list to use a different |
| 165 | +--- text for different levels of folds. |
118 | 166 | ---@field scope_merge_text string | string[]
|
| 167 | +--- |
| 168 | +--- Highlight group for the `scope_merge_text`. |
| 169 | +--- Can be a list to assign different |
| 170 | +--- colors to different fold level. |
119 | 171 | ---@field scope_merge_hl? string | string[]
|
120 | 172 | ---
|
121 |
| ----@field fill_text string | string[] |
| 173 | +--- Text for normal lines. |
| 174 | +---@field fill_text string |
| 175 | +--- |
| 176 | +--- Highlight group for `fill_text`. |
122 | 177 | ---@field fill_hl? string
|
123 | 178 |
|
124 | 179 |
|
|
0 commit comments