|
1 | | -*options.txt* For Vim version 9.1. Last change: 2025 Jul 21 |
| 1 | +*options.txt* For Vim version 9.1. Last change: 2025 Jul 25 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -911,6 +911,13 @@ A jump table for the options with a short description can be found at |Q_op|. |
911 | 911 | the current directory won't change when navigating to it. |
912 | 912 | Note: When this option is on some plugins may not work. |
913 | 913 |
|
| 914 | + *'autocomplete'* *'ac'* *'noautocomplete'* *'noac'* |
| 915 | +'autocomplete' 'ac' boolean (default off) |
| 916 | + global |
| 917 | + {only available on platforms with timing support} |
| 918 | + When on, Vim shows a completion menu as you type, similar to using |
| 919 | + |i_CTRL-N|, but triggered automatically. See |ins-autocompletion|. |
| 920 | + |
914 | 921 | *'autoindent'* *'ai'* *'noautoindent'* *'noai'* |
915 | 922 | 'autoindent' 'ai' boolean (default off) |
916 | 923 | local to buffer |
@@ -2129,9 +2136,9 @@ A jump table for the options with a short description can be found at |Q_op|. |
2129 | 2136 | If the Dict returned by the {func} includes {"refresh": "always"}, |
2130 | 2137 | the function will be invoked again whenever the leading text |
2131 | 2138 | changes. |
2132 | | - If generating matches is potentially slow, |complete_check()| |
2133 | | - should be used to avoid blocking and preserve editor |
2134 | | - responsiveness. |
| 2139 | + If generating matches is potentially slow, call |
| 2140 | + |complete_check()| periodically to keep Vim responsive. This |
| 2141 | + is especially important for |ins-autocompletion|. |
2135 | 2142 | F equivalent to using "F{func}", where the function is taken from |
2136 | 2143 | the 'completefunc' option. |
2137 | 2144 | o equivalent to using "F{func}", where the function is taken from |
@@ -2278,6 +2285,9 @@ A jump table for the options with a short description can be found at |Q_op|. |
2278 | 2285 | completion in the preview window. Only works in |
2279 | 2286 | combination with "menu" or "menuone". |
2280 | 2287 |
|
| 2288 | + Only "fuzzy", "popup", "popuphidden" and "preview" have an effect when |
| 2289 | + 'autocomplete' is enabled. |
| 2290 | + |
2281 | 2291 | This option does not apply to |cmdline-completion|. See 'wildoptions' |
2282 | 2292 | for that. |
2283 | 2293 |
|
|
0 commit comments