aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/perl.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-03 22:52:46 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-03 22:52:46 +1300
commit381812518e1625ffa3d000332e5198b5ac219f73 (patch)
tree653e4842f47dbcb005a4f24f2cfeed521b99452a /vim/ftplugin/perl.vim
parent04031093dd873153b8af734fae5122bf27dcdb19 (diff)
downloaddotfiles-381812518e1625ffa3d000332e5198b5ac219f73.tar.gz
dotfiles-381812518e1625ffa3d000332e5198b5ac219f73.zip
Use full ':execute' not just ':exe' in VimL
We should probably avoid this sort of abbreviation in scripts.
Diffstat (limited to 'vim/ftplugin/perl.vim')
-rw-r--r--vim/ftplugin/perl.vim4
1 files changed, 2 insertions, 2 deletions
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 <LocalLeader>pc :exe "!perl -c " . shellescape(expand("%"))<CR>
+ nnoremap <LocalLeader>pc :execute "!perl -c " . shellescape(expand("%"))<CR>
" Run perlcritic on the file for the current buffer
- nnoremap <LocalLeader>pl :exe "!perlcritic " . shellescape(expand("%"))<CR>
+ nnoremap <LocalLeader>pl :execute "!perlcritic " . shellescape(expand("%"))<CR>
" Run the current buffer through perltidy
nnoremap <LocalLeader>pt :%!perltidy<CR>