From 381812518e1625ffa3d000332e5198b5ac219f73 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 3 Nov 2017 22:52:46 +1300 Subject: Use full ':execute' not just ':exe' in VimL We should probably avoid this sort of abbreviation in scripts. --- vim/ftplugin/perl.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim/ftplugin/perl.vim') diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim index c4923051..310ffe7e 100644 --- a/vim/ftplugin/perl.vim +++ b/vim/ftplugin/perl.vim @@ -2,9 +2,9 @@ if exists('*shellescape') " Run perl -c on file for the current buffer - nnoremap pc :exe "!perl -c " . shellescape(expand("%")) + nnoremap pc :execute "!perl -c " . shellescape(expand("%")) " Run perlcritic on the file for the current buffer - nnoremap pl :exe "!perlcritic " . shellescape(expand("%")) + nnoremap pl :execute "!perlcritic " . shellescape(expand("%")) " Run the current buffer through perltidy nnoremap pt :%!perltidy -- cgit v1.2.3