mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-14 14:33:50 -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
|
||||
|
||||
Reference in New Issue
Block a user