From 1a096f0901264629947afb89436019895e5e7ef5 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 9 Jun 2021 16:54:25 +0200 Subject: Fix script indentation inside html, closes #693 --- autoload/polyglot/init.vim | 5 ----- autoload/polyglot/sleuth.vim | 1 - 2 files changed, 6 deletions(-) (limited to 'autoload') diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim index 511841e5..2c76d854 100644 --- a/autoload/polyglot/init.vim +++ b/autoload/polyglot/init.vim @@ -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 diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim index e134370d..1912384c 100644 --- a/autoload/polyglot/sleuth.vim +++ b/autoload/polyglot/sleuth.vim @@ -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', -- cgit v1.2.3