Follow symlinks in snippets folder
This commit is contained in:
parent
6bd09725d5
commit
ae0dd3fc56
2
init.vim
2
init.vim
@ -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>)
|
||||
|
Loading…
Reference in New Issue
Block a user