diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-08 21:11:02 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-08 21:11:02 -0500 |
commit | 5c420a423541412b97331ea0485985b0716e36a0 (patch) | |
tree | 1c6d08bb53d7d6a335791a088543f76282d23f0c /vim/ftplugin | |
parent | 434bbd2b3005ce49af8f1dcce0fd8119724d3ad1 (diff) | |
download | conf-5c420a423541412b97331ea0485985b0716e36a0.tar.gz conf-5c420a423541412b97331ea0485985b0716e36a0.zip |
remove more perl dev stuff
Diffstat (limited to 'vim/ftplugin')
-rw-r--r-- | vim/ftplugin/perl.vim | 14 |
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() |