I'm using the default indent file for html in Vim 8.0
It indents most tags well.
However, when using tags including <script>
and <style>
, it goes wrong.
It just look like this:
<!DOCTYPE html>
<html>
<head>
<title>
...
</title>
<style type="text/css">
button
{
background-color: #3399ff;
}
</style>
</head>
...
And the <script>
tag looks like this:
<!DOCTYPE html>
<html>
<head>
<title>
...
</title>
<script>
var a = "hello";
</script>
</head>
...
Any idea how to correctly indent them?
Thanks in advance.