This repository was archived by the owner on Jun 20, 2024. It is now read-only.
Commit 048baf8
js-beautify support for mustache and handlebars
The `mustache/vim-mustache-handlebars` plugin sets the filetype to
either `html.handlebars` or `html.mustache`. Even though js-beautify
supports formatting for these files, the `--type` parameter must be
`html`.
This commit sets the `--type` parameter to `html` when the filetype
either is `html` or matches the regex `\mhtml\.`.1 parent 03d35f1 commit 048baf8
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
0 commit comments