Skip to content

Commit

Permalink
fix: remove fuzzycollect
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyinzuo committed Jul 9, 2024
1 parent b283639 commit 42b5fc0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ if has('autocmd') " vim-tiny does not have autocmd
set cmdheight=2 " cmd行高2, 减少hit-enter
set wildmenu " command自动补全时显示菜单
if v:version >= 900 || has('nvim')
" TODO: wait for https://github.com/neovim/neovim/pull/29429
if has('patch-9.1.503') " || has('nvim-0.11.0')
set completeopt+=fuzzy,fuzzycollect
if has('patch-9.1.503') || has('nvim-0.11.0')
set completeopt+=fuzzy
endif
set wildoptions=pum " 显示popup window
" save
Expand Down
2 changes: 2 additions & 0 deletions root/.vim/doc/command-line-tool.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ Ubuntu22.04下均可通过apt安装
>
邮件: *himalaya* , 但其vim插件存在bug
目录树: tree

进程查看: top -> htop
top中按c可以查看command详情;u可以筛选user进程

查找: find -> fd *find-fd* *fd-find* *fd*
fd默认会ignore .gitignore下的文件,要取消.gitignore可以添加`-I`flag >
Expand Down
5 changes: 2 additions & 3 deletions root/.vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ if has('autocmd') " vim-tiny does not have autocmd
set cmdheight=2 " cmd行高2, 减少hit-enter
set wildmenu " command自动补全时显示菜单
if v:version >= 900 || has('nvim')
" TODO: wait for https://github.com/neovim/neovim/pull/29429
if has('patch-9.1.503') " TODO: remove comment || has('nvim-0.11.0')
set completeopt+=fuzzy,fuzzycollect
if has('patch-9.1.503') || has('nvim-0.11.0')
set completeopt+=fuzzy
endif
set wildoptions=pum " 显示popup window
" save
Expand Down

0 comments on commit 42b5fc0

Please sign in to comment.