[Snippets] Do not limit search scope (#1217)

This commit is contained in:
Eddie
2021-04-14 22:38:19 +02:00
committed by GitHub
parent caf7754b26
commit ee91c93d4c

View File

@@ -981,7 +981,7 @@ function! fzf#vim#snippets(...)
let colored = map(aligned, 's:yellow(v:val[0])."\t".v:val[1]')
return s:fzf('snippets', {
\ 'source': colored,
\ 'options': '--ansi --tiebreak=index +m -n 1 -d "\t"',
\ 'options': '--ansi --tiebreak=index +m -n 1,.. -d "\t"',
\ 'sink': s:function('s:inject_snippet')}, a:000)
endfunction