-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Issue with language settings #7099
Comments
Looks like you are running from master, #2507 was recently merged which changes language server config to be per language server instead of per language, so you would need something like: [language-server.rust-analyzer]
config = {} See https://docs.helix-editor.com/master/languages.html#language-server-configuration |
I managed to get most of it working , but i dont know how (or where to add) [language.config.check] when i enable this it complains right away |
It should be [language-server.rust-analyser.config.check]
command = "clippy" (Switched analyzer to analyser cause that's what your config used) |
Hello, I need some help please 🙏🏻.
[[language]]
name = "vue"
file-types = ["vue"]
language-server = { command = "vue-language-server", args = ["--stdio"] }
formatter = { command = "prettier", args = ["--parser", "vue"] }
scope = "text.html.vue"
roots = ["package.json"]
injection-regex = "vue"
auto-format = true
[language.config.typescript]
tsdk = "/opt/homebrew/lib/node_modules/typescript/lib"
[language.config.languageFeatures]
semanticTokens = true
references = true
definition = true
typeDefinition = true
callHierarchy = true
hover = true
rename = true
renameFileRefactoring = true
signatureHelp = true
codeAction = true
completion = { defaultTagNameCase = 'both', defaultAttrNameCase = 'kebabCase' }
schemaRequestService = true
documentHighlight = true
documentLink = true
codeLens = true
diagnostics = true
[language.config.documentFeatures]
documentColor = false
selectionRange = true
foldingRange = true
linkedEditingRange = true
documentSymbol = true
documentFormatting = { defaultPrintWidth = 100 }
[[language]]
name = "vue"
scope = "text.html.vue"
injection-regex = "vue"
file-types = ["vue"]
auto-format = true
roots = ["package.json"]
formatter = { command = "prettier", args = ["--parser", "vue"] }
language-servers = ["vue-language-server"]
# Language Server configuration
[language-server.vue-language-server]
command = "vue-language-server"
args = ["--stdio"]
[language-server.vue-language-server.config]
typescript = { tsdk = "/opt/homebrew/lib/node_modules/typescript/lib" }
[language-server.vue-language-server.config.languageFeatures]
semanticTokens = true
references = true
definition = true
typeDefinition = true
callHierarchy = true
hover = true
rename = true
renameFileRefactoring = true
signatureHelp = true
codeAction = true
completion = { defaultTagNameCase = 'both', defaultAttrNameCase = 'kebabCase' }
schemaRequestService = true
documentHighlight = true
documentLink = true
codeLens = true
diagnostics = true
[language-server.vue-language-server.config.documentFeatures]
documentColor = false
selectionRange = true
foldingRange = true
linkedEditingRange = true
documentSymbol = true
documentFormatting = { defaultPrintWidth = 100 } I appreciate your help. |
Try putting the |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
After update from 23.03 to 23.05, i get always warning when trying to run helix :
And here is language. toml file settings
https://pastebin.com/bx592Ugk
The text was updated successfully, but these errors were encountered: