Skip to content

Commit

Permalink
fix: fix language detection for html/astro/svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
benluelo authored and o-az committed May 30, 2024
1 parent 9d2bef8 commit dc4f174
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .helix/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ file-types = ["html"]
language-servers = ["vscode-html-language-server", "emmet-lsp", "tailwindcss-ls"]
name = "html"
roots = [".git", "tailwind.config.js", "tailwind.config.cjs", "tailwind.config.ts"]
scope = "text.html.basic"

[[language]]
file-types = ["css", "html", "svelte", "astro"]
injection-regex = "(postcss|css|html)"
name = "tailwindcss"
roots = ["tailwind.config.js", "tailwind.config.cjs", "tailwind.config.ts"]
scope = "source.css"
scope = "source.html"

# [[language]]
# file-types = ["css", "html", "svelte", "astro"]
# injection-regex = "(postcss|css)"
# name = "tailwindcss"
# roots = ["tailwind.config.js", "tailwind.config.cjs", "tailwind.config.ts"]
# scope = "source.css"

[[language]]
auto-format = true
Expand Down

0 comments on commit dc4f174

Please sign in to comment.