|
1 | | -*options.txt* For Vim version 9.1. Last change: 2025 Jul 01 |
| 1 | +*options.txt* For Vim version 9.1. Last change: 2025 Jul 05 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -2123,15 +2123,12 @@ A jump table for the options with a short description can be found at |Q_op|. |
2123 | 2123 | name of a function or a |Funcref|. For |Funcref| values, |
2124 | 2124 | spaces must be escaped with a backslash ('\'), and commas with |
2125 | 2125 | double backslashes ('\\') (see |option-backslash|). |
| 2126 | + Unlike other sources, functions can provide completions starting |
| 2127 | + from a non-keyword character before the cursor, and their |
| 2128 | + start position for replacing text may differ from other sources. |
2126 | 2129 | If the Dict returned by the {func} includes {"refresh": "always"}, |
2127 | 2130 | the function will be invoked again whenever the leading text |
2128 | 2131 | changes. |
2129 | | - Completion matches are always inserted at the keyword |
2130 | | - boundary, regardless of the column returned by {func} when |
2131 | | - a:findstart is 1. This ensures compatibility with other |
2132 | | - completion sources. |
2133 | | - To make further modifications to the inserted text, {func} |
2134 | | - can make use of |CompleteDonePre|. |
2135 | 2132 | If generating matches is potentially slow, |complete_check()| |
2136 | 2133 | should be used to avoid blocking and preserve editor |
2137 | 2134 | responsiveness. |
@@ -2390,7 +2387,7 @@ A jump table for the options with a short description can be found at |Q_op|. |
2390 | 2387 |
|
2391 | 2388 | *'cpoptions'* *'cpo'* *cpo* |
2392 | 2389 | 'cpoptions' 'cpo' string (Vim default: "aABceFsz", |
2393 | | - Vi default: all flags, except "#{|&/\." |
| 2390 | + Vi default: all flags, except "#{|&/\.~" |
2394 | 2391 | |$VIM_POSIX|: all flags) |
2395 | 2392 | global |
2396 | 2393 | A sequence of single character flags. When a character is present |
@@ -2680,6 +2677,13 @@ A jump table for the options with a short description can be found at |Q_op|. |
2680 | 2677 | character, the cursor won't move. When not included, |
2681 | 2678 | the cursor would skip over it and jump to the |
2682 | 2679 | following occurrence. |
| 2680 | + *cpo-~* |
| 2681 | + ~ When included, don't resolve symbolic links when |
| 2682 | + changing directory with |:cd|, |:lcd|, or |:tcd|. |
| 2683 | + This preserves the symbolic link path in buffer names |
| 2684 | + and when displaying the current directory. When |
| 2685 | + excluded (default), symbolic links are resolved to |
| 2686 | + their target paths. |
2683 | 2687 |
|
2684 | 2688 | POSIX flags. These are not included in the Vi default value, except |
2685 | 2689 | when $VIM_POSIX was set on startup. |posix| |
|
0 commit comments