comparison autoload/vimcrosoft/fzf.vim @ 5:bac97082e229

Add more caching to listing solution files.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 24 Oct 2019 11:16:11 -0700
parents 5d2c0db51914
children
comparison
equal deleted inserted replaced
4:ae0fb567f459 5:bac97082e229
10 unlet $FZF_DEFAULT_COMMAND 10 unlet $FZF_DEFAULT_COMMAND
11 endfunction 11 endfunction
12 12
13 function! s:build_file_list_command(slnpath) abort 13 function! s:build_file_list_command(slnpath) abort
14 let l:scriptpath = vimcrosoft#get_script_path('list_sln_files.py') 14 let l:scriptpath = vimcrosoft#get_script_path('list_sln_files.py')
15 let l:list_cache_path = vimcrosoft#get_sln_cache_file('fzffilelist.txt')
15 return 'python '.shellescape(l:scriptpath). 16 return 'python '.shellescape(l:scriptpath).
16 \' '.shellescape(a:slnpath) 17 \' '.shellescape(a:slnpath).
17 \.' --cache '.shellescape(g:vimcrosoft_current_sln_cache) 18 \' --cache '.shellescape(g:vimcrosoft_current_sln_cache).
19 \' --list-cache '.shellescape(l:list_cache_path)
18 endfunction 20 endfunction
19 21