-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No HTML highlighting in .tsx react files with typescript-language-server #11726
Comments
There is a similar issue in typescript language server itself, but with Kate editor typescript-language-server/typescript-language-server#912 Maybe you can provide verbose logs? https://github.com/typescript-language-server/typescript-language-server/blob/master/docs/configuration.md#tsserver-options |
|
@MercuryHgO I don't see anything wrong in the logs. From my understanding the language server is correctly watching your files in tauri project. I know that helix should support Just to be sure you can run The last resort that I can think of is to check LSP on different editor. I think VS Code can be configured to use for vs code settings.json we could add this: {
"lsp.languageserver.typescript": {
"command": "typescript-language-server",
"args": ["--stdio"],
"filetypes": ["typescript", "typescriptreact"]
}
} PS. Can you install 24.07 on Nix OS. I think there is a newest version of Helix available in package manager https://github.com/helix-editor/helix/wiki/Language-Server-Configurations#typescript |
Helix uses tree-sitter for syntax highlighting and not LSP. So this must be a bug in the highlights or injections queries for TSX ( |
@MercuryHgO Hi bro , i had this issue too and i solved it by switching from node.js to Deno and i installed emmet-language-server and i configured helix langueges.toml file like this :
|
@badr-el-bazzazi Never worked with Deno, how can i use it with Tauri? |
helix 24.3 (2cadec0)
typescript-language-server 4.3.3
NixOS 24.05
The text was updated successfully, but these errors were encountered: