mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Fix script indentation inside html, closes #693
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user