Fix script indentation inside html, closes #693

This commit is contained in:
Adam Stankiewicz
2021-06-09 16:54:25 +02:00
parent 4dd1f8f2be
commit 1a096f0901
15 changed files with 226 additions and 1704 deletions

View File

@@ -1324,11 +1324,6 @@ if !has_key(g:polyglot_is_disabled, 'tilde')
au BufNewFile,BufRead *.t.html setf tilde
endif
if !has_key(g:polyglot_is_disabled, 'html')
au! BufNewFile,BufRead,BufWritePost *.html call polyglot#detect#Html()
au BufNewFile,BufRead *.htm,*.html.hl,*.inc,*.xht,*.xhtml setf html
endif
if !has_key(g:polyglot_is_disabled, 'hollywood')
au BufNewFile,BufRead *.hws setf hollywood
endif

View File

@@ -230,7 +230,6 @@ let s:globs = {
\ 'hostconf': '',
\ 'hostsaccess': '',
\ 'hss': '*.hss',
\ 'html': '*.html,*.htm,*.html.hl,*.inc,*.xht,*.xhtml',
\ 'html.handlebars': '*.handlebars,*.hbs,*.hdbs,*.hb',
\ 'html.mustache': '*.mustache,*.hogan,*.hulk,*.hjs',
\ 'html.twig': '*.twig',