|
1 |
| -*builtin.txt* For Vim version 9.1. Last change: 2025 Jul 06 |
| 1 | +*builtin.txt* For Vim version 9.1. Last change: 2025 Jul 14 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -4333,6 +4333,7 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()*
|
4333 | 4333 | messages |:messages| suboptions
|
4334 | 4334 | option options
|
4335 | 4335 | packadd optional package |pack-add| names
|
| 4336 | + retab |:retab| suboptions |
4336 | 4337 | runtime |:runtime| completion
|
4337 | 4338 | scriptnames sourced script names |:scriptnames|
|
4338 | 4339 | shellcmd Shell command
|
@@ -9378,11 +9379,12 @@ searchcount([{options}]) *searchcount()*
|
9378 | 9379 |
|
9379 | 9380 | To get the last search count when |n| or |N| was pressed, call
|
9380 | 9381 | this function with `recompute: 0` . This sometimes returns
|
9381 |
| - wrong information because |n| and |N|'s maximum count is 99. |
9382 |
| - If it exceeded 99 the result must be max count + 1 (100). If |
9383 |
| - you want to get correct information, specify `recompute: 1`: > |
| 9382 | + wrong information because of 'maxsearchcount'. |
| 9383 | + If the count exceeded 'maxsearchcount', the result must be |
| 9384 | + 'maxsearchcount' + 1. If you want to get correct information, |
| 9385 | + specify `recompute: 1`: > |
9384 | 9386 |
|
9385 |
| - " result == maxcount + 1 (100) when many matches |
| 9387 | + " result == 'maxsearchcount' + 1 when many matches |
9386 | 9388 | let result = searchcount(#{recompute: 0})
|
9387 | 9389 |
|
9388 | 9390 | " Below returns correct result (recompute defaults
|
@@ -9469,7 +9471,7 @@ searchcount([{options}]) *searchcount()*
|
9469 | 9471 | result. if search exceeded
|
9470 | 9472 | total count, "total" value
|
9471 | 9473 | becomes `maxcount + 1`
|
9472 |
| - (default: 99) |
| 9474 | + (default: 'maxsearchcount') |
9473 | 9475 | pos |List| `[lnum, col, off]` value
|
9474 | 9476 | when recomputing the result.
|
9475 | 9477 | this changes "current" result
|
|
0 commit comments