[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#74610: 31.0.50; Submitting mhtml-ts-mode, treesitter alternative to
From: |
Vincenzo Pupillo |
Subject: |
bug#74610: 31.0.50; Submitting mhtml-ts-mode, treesitter alternative to mhtml-mode |
Date: |
Tue, 03 Dec 2024 15:29:06 +0100 |
In data domenica 1 dicembre 2024 07:01:21 Ora standard dell’Europa centrale,
Yuan Fu ha scritto:
> It's not uncommon to see different indent offset for CSS and
> Javascript, so it's a good idea to have separate control for them.
Is the behavior the same as mhtml-mode, or would you like something like this?
<style>
z {
color: red;
}
</style>
<script>
function myFunction(p1, p2) {
return p1 * p2;
}
</script>
The mhtml-ts-mode-js-css-indent-offset variable controls only the indentation
relative to the <style> and <script> tags.
V.