Merge remote-tracking branch 'lenormf/fix-html-mimetypes'

This commit is contained in:
Maxime Coste 2016-11-23 00:25:45 +00:00
commit fbd32fb512

View File

@ -4,11 +4,11 @@
# Detection # Detection
# ‾‾‾‾‾‾‾‾‾ # ‾‾‾‾‾‾‾‾‾
hook global BufSetOption mimetype=text/x-html %{ hook global BufSetOption mimetype=(text/((x-)?html|xml)|application/((\w+\+)?xml)) %{
set buffer filetype html set buffer filetype html
} }
hook global BufCreate .*[.](html) %{ hook global BufCreate .*\.(html|xml) %{
set buffer filetype html set buffer filetype html
} }