pangloss / vim-javascript

Vastly improved Javascript indentation and syntax support in Vim.
http://www.vim.org/scripts/script.php?script_id=4452
3.8k stars 358 forks source link

Broken javascript indentation inside <script> tags in html #1226

Open sheerun opened 3 years ago

sheerun commented 3 years ago

Issue moved from https://github.com/sheerun/vim-polyglot/issues/643


Describe the bug:

Script tag indentation is broken.

To Reproduce:

broken differently

I'm using neovim v0.4.4.

tomprats commented 2 years ago

For anyone else running into this issue that doesn't use vim-polygot (I think upgrading that should solve it).

I just needed to add an html indentation plugin - othree/html5.vim