Drop 'includeexpr' entirely

This commit is contained in:
Tim Pope 2014-07-03 10:22:55 -04:00
parent 845b362a17
commit eae17cfb42

View File

@ -1280,7 +1280,6 @@ nnoremap <silent> <Plug>FireplaceSplitFile :<C-U>exe <SID>GF('split', expand('
nnoremap <silent> <Plug>FireplaceTabeditFile :<C-U>exe <SID>GF('tabedit', expand('<cfile>'))<CR> nnoremap <silent> <Plug>FireplaceTabeditFile :<C-U>exe <SID>GF('tabedit', expand('<cfile>'))<CR>
function! s:set_up_go_to_file() abort function! s:set_up_go_to_file() abort
setlocal includeexpr=fireplace#findfile(tr(substitute(v:fname,'/[^/.]*$','',''),'.-','/_'))
if expand('%:e') ==# 'cljs' if expand('%:e') ==# 'cljs'
setlocal suffixesadd=.cljs,.cljx,.clj,.java setlocal suffixesadd=.cljs,.cljx,.clj,.java
else else