Skip to content

Commit

Permalink
fix: fix lsps more
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 dc4f174 commit 3a5c3f9
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .helix/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,10 @@ command = "biome"
args = ["--stdio"]
command = "emmet-language-server"

[language-server.tailwindcss]
args = ["--stdio"]
command = "tailwindcss-language-server"
config = {}
language-id = "svelte"

[language-server.tailwindcss-ls]
args = ["--stdio"]
command = "tailwindcss-language-server"

[language-server.tailwindcss-css]
args = ["--stdio"]
command = "tailwindcss-language-server"
config = {}
language-id = "css"

[language-server.vscode-css-language-server]
args = ["--stdio"]
command = "vscode-css-language-server"
Expand All @@ -42,7 +30,7 @@ auto-format = true
formatter = { command = "biome", args = ["format", "**/*.astro", "--write"] }
indent = { tab-width = 2, unit = " " }
injection-regex = "astro"
language-servers = [{ name = "astro-ls", except-features = ["format"] }, "biome"]
language-servers = [{ name = "astro-ls", except-features = ["format"] }, "biome", "tailwindcss-ls"]
name = "astro"
roots = ["package.json", "astro.config.ts", "tsconfig.json", "tailwind.config.ts"]
scope = "source.astro"
Expand All @@ -69,13 +57,6 @@ name = "html"
roots = [".git", "tailwind.config.js", "tailwind.config.cjs", "tailwind.config.ts"]
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
language-servers = [{ name = "typescript-language-server", except-features = ["format"] }, "biome"]
Expand All @@ -91,7 +72,7 @@ auto-format = true
language-servers = [
{ name = "typescript-language-server", except-features = ["format"] },
"biome",
"tailwindcss",
"tailwindcss-ls",
]
name = "tsx"

Expand Down

0 comments on commit 3a5c3f9

Please sign in to comment.