-
I'm trying to setup a leptos project and there are some aspects that is still not working. Is there anyone using helix that has a working configuration running? I'm trying to get tailwind + emmet + rust_analyzer in feature code block running, here are the results so far:
What i'm getting so far is the macro definitions on hover instead of tailwind here is my
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After a while i finally got helix configured with said programs, some issues were me being extremely careless and missed out on some obvious mistake, I'll try to make a checklist for anyone using helix and stumble across this discussion to have an easier time setting up helix with leptos
[[language]]
name = "rust"
language-servers = ["rust-analyzer", "tailwindcss", "emmet-lsp"]
auto-format = true
[language-server.tailwindcss]
command = "tailwindcss-language-server"
language-id = "rust"
args = ["--stdio"]
[language-server.tailwindcss.config]
tailwindCSS = { includeLanguages = { rust = "html", "*.rs" = "html" } }
[language-server.rust-analyzer.config]
rustfmt = { overrideCommand = ["leptosfmt", "--stdin", "--rustfmt"] }
features = "all"
[language-server.emmet-lsp.config]
emmet = { includeLanguages = { rust = "html", "*.rs" = "html" } }
|
Beta Was this translation helpful? Give feedback.
After a while i finally got helix configured with said programs, some issues were me being extremely careless and missed out on some obvious mistake, I'll try to make a checklist for anyone using helix and stumble across this discussion to have an easier time setting up helix with leptos
your_project_root/.helix/languages.toml
. I made a really dumb mistake and made a typo (language.toml
without the s) and couldn't figure out why the configuration didn't take any effect.