" Extra configuration for HTML files
if &filetype != 'html' || &compatible || v:version < 700
finish
endif
" Set up hooks for timestamp updating
autocmd html_timestamp BufWritePre
\ if exists('b:html_timestamp_check')
\| call html#TimestampUpdate()
\|endif
let b:undo_ftplugin = b:undo_ftplugin
\ . '|autocmd! html_timestamp BufWritePre '
" Stop here if the user doesn't want ftplugin mappings
if exists('g:no_plugin_maps') || exists('g:no_html_maps')
finish
endif
" Set mappings
nnoremap l
\ :call compiler#Make('tidy')
nnoremap r
\ :call html#UrlLink()
nnoremap t
\ :call filter#Stable('tidy -quiet')
let b:undo_ftplugin = b:undo_ftplugin
\ . '|nunmap l'
\ . '|nunmap r'
\ . '|nunmap t'