Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork773
Commitbfd70f7
committed
fixed auto insert for rope complete
For details, see `:h completeopt` in vim.vim has many flags of option &completeopt, the flags like menu, menuone,noinsert, noselect and so on control the autocomplete behaviour.e.g. if the set completeopt=menu, and there's only one possiblecompletions, the vim will not popup a menu and just insert thecompletions, this like auto insert __init__ describe above, user there'sno chance to confirm the completions they want or not.but if set completeopt=menuone,noinsert, vim will popup menu also whenthere is only one match. for case above, vim will popup a menu with onecompletion item __init__ and let user choose insert it or escape, if addnoselect with &completeopt, vim will even not selected the firstcompletion item.1 parentac97c66 commitbfd70f7
2 files changed
+8
-3
lines changedLines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 |
| |
20 | 24 |
| |
21 | 25 |
| |
22 | 26 |
| |
23 | 27 |
| |
24 | 28 |
| |
25 |
| - | |
| 29 | + | |
26 | 30 |
| |
27 | 31 |
| |
28 | 32 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 |
| - | |
| 97 | + | |
| 98 | + | |
98 | 99 |
| |
99 | 100 |
| |
100 | 101 |
| |
|
0 commit comments
Comments
(0)