diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 22:52:46 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-03 22:52:46 +1300 |
commit | 381812518e1625ffa3d000332e5198b5ac219f73 (patch) | |
tree | 653e4842f47dbcb005a4f24f2cfeed521b99452a /vim/ftplugin/html.vim | |
parent | Check for availability of Vim shellescape() (diff) | |
download | dotfiles-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/html.vim')
-rw-r--r-- | vim/ftplugin/html.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim index 5505dbaa..d705bd71 100644 --- a/vim/ftplugin/html.vim +++ b/vim/ftplugin/html.vim @@ -3,7 +3,7 @@ if exists('*shellescape') function s:HTMLTidy() execute '!tidy -eq -utf8 ' . shellescape(expand('%')) endfunction - nnoremap <LocalLeader>v :exe :<C-U>call <SID>HTMLTidy()<CR> + nnoremap <LocalLeader>v :execute :<C-U>call <SID>HTMLTidy()<CR> endif " Make a bare URL into a link to itself |