mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 04:10:06 +08:00
27 lines
767 B
VimL
27 lines
767 B
VimL
"=============================================================================
|
|
" FILE: autoload/incsearch/config/fuzzy.vim
|
|
" AUTHOR: haya14busa
|
|
" License: MIT license
|
|
"=============================================================================
|
|
scriptencoding utf-8
|
|
let s:save_cpo = &cpo
|
|
set cpo&vim
|
|
|
|
let s:C = vital#incsearch_fuzzy#import('Data.String.Converter')
|
|
|
|
function! incsearch#config#fuzzyword#converter() abort
|
|
return s:C.fuzzyword
|
|
endfunction
|
|
|
|
function! incsearch#config#fuzzyword#make(...) abort
|
|
return incsearch#util#deepextend(deepcopy({
|
|
\ 'converters': [incsearch#config#fuzzyword#converter()]
|
|
\ }), get(a:, 1, {}))
|
|
endfunction
|
|
|
|
let &cpo = s:save_cpo
|
|
unlet s:save_cpo
|
|
" __END__
|
|
" vim: expandtab softtabstop=2 shiftwidth=2 foldmethod=marker
|
|
|