Skip to content

Commit ec00f05

Browse files
committed
open cmdline
1 parent c7dbbed commit ec00f05

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ require("easycomplete").setup({
197197
| `g:easycomplete_custom_snippet` | `""` | 自定义 snippets 路径 |
198198
| `g:easycomplete_use_default_cr` | 1 | 是否使用默认回车的事件绑定 |
199199
| `g:easycomplete_pum_pretty_style` | 1 | 开启 border 时自适应 pum 样式 |
200-
| `g:easycomplete_cmdline` | 0 | cmdline 匹配 |
200+
| `g:easycomplete_cmdline` | 1 | cmdline 匹配 |
201201
| `g:easycomplete_pum_maxlength` | 35 | 匹配列表单词最长的字符数 |
202202
| `g:easycomplete_pum_noselect` | `&cot =~ "noselect"` | 是否自动选中第一个匹配项. 同 `set &completeopt+=noselect` |
203203

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Global configurations:
197197
| `g:easycomplete_custom_snippet` | `""` | Custom snippets path |
198198
| `g:easycomplete_use_default_cr` | 1 | enable or disable default cr action |
199199
| `g:easycomplete_pum_pretty_style` | 1 | Adjust the pum style with border automatically |
200-
| `g:easycomplete_cmdline` | 0 | Commandline complete |
200+
| `g:easycomplete_cmdline` | 1 | Commandline complete |
201201
| `g:easycomplete_pum_maxlength` | 35 | Max length of mathing word in pum list |
202202
| `g:easycomplete_pum_noselect` | `&cot =~ "noselect"` | Autoselect first matched item or not. Same as `set &completeopt+=noselect` |
203203

plugin/easycomplete.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ if !exists("g:easycomplete_signature_enable")
208208
let g:easycomplete_signature_enable = 1
209209
endif
210210
if !exists("g:easycomplete_cmdline")
211-
let g:easycomplete_cmdline = 0
211+
let g:easycomplete_cmdline = 1
212212
endif
213213
if !exists("g:easycomplete_pum_noselect ")
214214
" 如果没有设置,则取 completeopt 默认值

0 commit comments

Comments
 (0)