about summary refs log tree commit diff stats
path: root/examples/vim_file_chooser.vim
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2019-10-02 01:01:22 +0200
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2019-10-02 01:01:22 +0200
commitb77b4c416821c6d239b5404fc8d6a7fca9d70380 (patch)
tree7e85805567c13c043690ba6dbcced07b260b99da /examples/vim_file_chooser.vim
parent11087fd48f4fcbec9112a25d77eec0a5b2211d9f (diff)
downloadranger-b77b4c416821c6d239b5404fc8d6a7fca9d70380.tar.gz
Hotfix for an off-by-one in rifle
After #1341 the action IDs displayed by the UI were inconsistent with
the actual numbers used by rifle.  It was caused by the `ask` action
being skipped entirely (including incrementing the ID) but only in the
UI.

This is a hotfix that makes the hidden `ask` action to still take up a
number (usually (always?) 0) and thus keeping the numbering
consistent.  Bad side effect: sometimes the counting starts with 1
instead of 0 but for a time being let's choose a small inconsistency
over a BIG one.
Diffstat (limited to 'examples/vim_file_chooser.vim')
0 files changed, 0 insertions, 0 deletions
'n118' href='#n118'>118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231