aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-03 23:54:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-03 23:54:52 +1300
commit95e5976068183cf0f5b1601b7b159dfc6fa2cab8 (patch)
tree6459930c06ab0aced061912b6ba07f45e31a884e /vim/ftplugin
parentUse direct :write !cmd instead of shellescape() (diff)
downloaddotfiles-95e5976068183cf0f5b1601b7b159dfc6fa2cab8.tar.gz
dotfiles-95e5976068183cf0f5b1601b7b159dfc6fa2cab8.zip
Use long form options for tidy(1) Vim call
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/html.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim
index 4d3991f3..3bd1dbdf 100644
--- a/vim/ftplugin/html.vim
+++ b/vim/ftplugin/html.vim
@@ -1,5 +1,5 @@
-" Run tidy -eq -utf8 on file for the current buffer
-nnoremap <LocalLeader>v :write !tidy -eq -utf8<CR>
+" Run `tidy -errors -quiet` for the current buffer
+nnoremap <LocalLeader>c :write !tidy -errors -quiet -utf8<CR>
" Make a bare URL into a link to itself
function! s:UrlLink()