mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
fix(html): fix wrong indents for script/style tags
This commit is contained in:
parent
28baed7698
commit
8c71c6c5ed
6 changed files with 91 additions and 2 deletions
12
tests/indent/html/script_style.html
Normal file
12
tests/indent/html/script_style.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<head>
|
||||
<style>
|
||||
a {
|
||||
stroke-linecap: round;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
const foo = "bar"
|
||||
</script>
|
||||
</body>
|
||||
Loading…
Add table
Add a link
Reference in a new issue