summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim/ftplugin/perl.vim14
1 files changed, 0 insertions, 14 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index a7705a7..3571e98 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -9,17 +9,3 @@ function! s:perldoc(word)
endfunction
nnoremap <buffer> <silent>K :call Help(0, [':'], '<SID>perldoc')<CR>
vnoremap <buffer> <silent>K :call Help(1, [':'], '<SID>perldoc')<CR>
-
-function! s:set_excludes()
- if filereadable("dist.ini")
- for line in readfile("dist.ini", '', 10)
- let name = matchstr(line, '\s*name\s*=\s*\zs.*')
- if name != ""
- exe 'setlocal wildignore+=' . name . '-*/*'
- break
- endif
- endfor
- endif
-endfunction
-autocmd BufReadPost * call <SID>set_excludes()
-call <SID>set_excludes()