Specific formatter configuration for subproject. #14425
Unanswered
VasilisManol
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use a specific formatter configuration for a subproject. The way I thought of doing that was adding a new language configuration and use file-types. Like:
languages.toml
It works for the most but syntax is not shown. The output of the command hx --health javascript_polymer:
hx --health javascript_polymer
Configured language servers:
✓ typescript-language-server: .nvm/versions/node/v22.18.0/bin/typescript-language-server
✓ biome: .nvm/versions/node/v22.18.0/bin/npx
Configured debug adapter: None
Configured formatter:
✓ .nvm/versions/node/v22.18.0/bin/npx
Tree-sitter parser: ✓
Highlight queries: ✘
Textobject queries: ✘
Indent queries: ✘
Shouldn't grammar = "javascript" make it use the highlight queries for javascript aswell ? Is there any other way to accomplish it ?
Beta Was this translation helpful? Give feedback.
All reactions