summaryrefslogtreecommitdiffstats
path: root/autoload/polyglot/init.vim
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/init.vim
parent4dd1f8f2be6a9d10d13a594e1d81af8de1d0270a (diff)
downloadvim-polyglot-1a096f0901264629947afb89436019895e5e7ef5.tar.gz
vim-polyglot-1a096f0901264629947afb89436019895e5e7ef5.zip
Fix script indentation inside html, closes #693
Diffstat (limited to 'autoload/polyglot/init.vim')
-rw-r--r--autoload/polyglot/init.vim5
1 files changed, 0 insertions, 5 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