mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
Add support for babel/text <script> syntax highlighting in HTML
This commit is contained in:
parent
42fc28ba91
commit
02cc89bc60
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ local html_script_type_languages = {
|
||||||
["module"] = "javascript",
|
["module"] = "javascript",
|
||||||
["application/ecmascript"] = "javascript",
|
["application/ecmascript"] = "javascript",
|
||||||
["text/ecmascript"] = "javascript",
|
["text/ecmascript"] = "javascript",
|
||||||
|
["text/babel"] = "javascript",
|
||||||
}
|
}
|
||||||
|
|
||||||
local non_filetype_match_injection_language_aliases = {
|
local non_filetype_match_injection_language_aliases = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue