Follow symlinks in snippets folder

This commit is contained in:
Jonas Ryssel 2023-02-03 09:29:17 +01:00
parent 6bd09725d5
commit ae0dd3fc56

View File

@ -967,7 +967,7 @@ function! InsertSnip(snip_name)
endfunction
function! FzySnip()
call picker#File('find -type f -name "*.snip"', 'R', {'cwd': stdpath('config') . '/snippets'})
call picker#File('find -follow -type f -name "*.snip"', 'R', {'cwd': stdpath('config') . '/snippets'})
endfunction
command! -nargs=1 R call InsertSnip(<f-args>)