summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/ftplugin/perl.vim6
1 files changed, 0 insertions, 6 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index bce3faa..0f6e968 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -7,12 +7,6 @@ function! s:perldoc(word)
let perldoc_pager = $PERLDOC_PAGER
let $PERLDOC_PAGER = 'cat'
exe 'silent read! perldoc -f "' . a:word . '" 2>/dev/null || perldoc "' . a:word . '"'
- try
- silent %s/\%x1b\[\d\+m//g
- silent %s/.\%x08//g
- catch /.*/
- endtry
- normal ggdd
let $PERLDOC_PAGER = perldoc_pager
set ft=man
endfunction