Skip to content

Commit 90fa9a5

Browse files
committed
Update ctrlp.txt
1 parent f0458d7 commit 90fa9a5

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

doc/ctrlp.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,18 +332,21 @@ Some examples: >
332332
let g:ctrlp_user_command = ['.hg', 'for /f "tokens=1" %%a in (''hg root'') '
333333
\ . 'do hg --cwd %s status -numac -I . %%a'] " Windows
334334
<
335-
Note #1: if the fallback_command is empty or the 'fallback' key is not defined,
335+
Note #1: in the |Dictionary| format, 'fallback' and 'ignore' are optional. In
336+
the |List| format, fallback_command is optional.
337+
338+
Note #2: if the fallback_command is empty or the 'fallback' key is not defined,
336339
|globpath()| will then be used when scanning outside of a repository.
337340

338-
Note #2: unless the |Dictionary| format is used and 'ignore' is defined and set
341+
Note #3: unless the |Dictionary| format is used and 'ignore' is defined and set
339342
to 1, the |wildignore| and |g:ctrlp_custom_ignore| options do not apply when
340343
these custom commands are being used. When not present, 'ignore' is set to 0 by
341344
default to retain the performance advantage of using external commands.
342345

343-
Note #3: when changing the option's variable type, remember to |:unlet| it
346+
Note #4: when changing the option's variable type, remember to |:unlet| it
344347
first or restart Vim to avoid the "E706: Variable type mismatch" error.
345348

346-
Note #4: you can use a |b:var| to set this option on a per buffer basis.
349+
Note #5: you can use a |b:var| to set this option on a per buffer basis.
347350

348351
*'g:ctrlp_max_history'*
349352
The maximum number of input strings you want CtrlP to remember. The default

0 commit comments

Comments
 (0)