aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-01-06 15:25:01 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-01-06 15:25:01 +1300
commit45a3e5014800bbf20d1b0167a9dc28981b644267 (patch)
treeb4de9da74f651df6e90f17587aaa9f5cbe0e52c9 /vim/after/ftplugin
parent3e3e0488eb70c91195707027db0e83d4c358fa6c (diff)
downloaddotfiles-45a3e5014800bbf20d1b0167a9dc28981b644267.tar.gz
dotfiles-45a3e5014800bbf20d1b0167a9dc28981b644267.zip
Clarify a comment for HTML indentation
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r--vim/after/ftplugin/html.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/vim/after/ftplugin/html.vim b/vim/after/ftplugin/html.vim
index c4f2e35e..0dff879f 100644
--- a/vim/after/ftplugin/html.vim
+++ b/vim/after/ftplugin/html.vim
@@ -9,8 +9,9 @@ let b:undo_ftplugin .= '|unlet b:current_compiler'
\ . '|setlocal errorformat< makeprg<'
" tidy(1) copes fine with formatting an entire document, but not just part of
-" it; we map \= to do the former, but don't actually set 'equalprg', falling
-" back on the good-enough built-in Vim indentation behavior.
+" it; we map \= to do the former, but don't actually set 'equalprg' for the
+" latter, instead falling back on the good-enough built-in Vim indentation
+" behavior
nnoremap <buffer> <Leader>= :<C-U>call html#TidyBuffer()<CR>
let b:undo_ftplugin .= '|nunmap <buffer> <Leader>='