Skip to content

Commit 4d2a40f

Browse files
authored
fix(html-css): Add styled to treesitter (#1524)
Adds styled to html-css to allow css highlighting within typescript and javascript
1 parent 7a007c1 commit 4d2a40f

File tree

1 file changed

+1
-1
lines changed
  • lua/astrocommunity/pack/html-css

1 file changed

+1
-1
lines changed

lua/astrocommunity/pack/html-css/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ return {
1414
opts = function(_, opts)
1515
if opts.ensure_installed ~= "all" then
1616
opts.ensure_installed =
17-
require("astrocore").list_insert_unique(opts.ensure_installed, { "html", "css", "scss" })
17+
require("astrocore").list_insert_unique(opts.ensure_installed, { "html", "css", "scss", "styled" })
1818
end
1919
vim.treesitter.language.register("scss", "less")
2020
vim.treesitter.language.register("scss", "postcss")

0 commit comments

Comments
 (0)