summaryrefslogtreecommitdiffstats
path: root/autoload/polyglot
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-09 16:54:25 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-09 16:54:25 +0200
commit1a096f0901264629947afb89436019895e5e7ef5 (patch)
tree0091c11164ad40da302e53faa0987e31e6ab9d62 /autoload/polyglot
parent4dd1f8f2be6a9d10d13a594e1d81af8de1d0270a (diff)
downloadvim-polyglot-1a096f0901264629947afb89436019895e5e7ef5.tar.gz
vim-polyglot-1a096f0901264629947afb89436019895e5e7ef5.zip
Fix script indentation inside html, closes #693
Diffstat (limited to 'autoload/polyglot')
-rw-r--r--autoload/polyglot/init.vim5
-rw-r--r--autoload/polyglot/sleuth.vim1
2 files changed, 0 insertions, 6 deletions
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',