Replies: 5 comments 4 replies
-
I was about to start a similar discussion - I have a language server called contextive that provides documentation support for domain specific terminology in a programming language-agnostic way. In other IDEs, I've been able to nominate as part of the language server configuration which languages it should be used for, and to use a There may be better ways to do this for helix, but one option is if the If the languages key in the lsp config would also accept |
Beta Was this translation helpful? Give feedback.
-
Ask for help 🙏. Could you show me your Here is mine: [language-server.typos-lsp]
command = "typos-lsp"
[language-server.typos-lsp.config.typos] # BUG
diagnosticSeverity = "Hint" # ["Error", "Warning", "Information", "Hint"]
logLevel = "info" # ["off", "error", "warn", "info", "debug", "trace"] Warning is here but hint is expected. It's weird that typos-vscode's README and package.json are different. |
Beta Was this translation helpful? Give feedback.
-
Would be great to be able to have this. My situation is similar in that I would like to add a language server to all files in a specific project. |
Beta Was this translation helpful? Give feedback.
-
Try this: [[language]]
name = "all-files"
scope = ""
file-types = [{glob="*"}]
language-servers = ["typos"] PS: for a complete typos-lsp config see here. |
Beta Was this translation helpful? Give feedback.
-
Hello, is there any way to do this 5 years later ? I have to add an lsp for every of my language, it makes the config very long |
Beta Was this translation helpful? Give feedback.
-
Now with the ability to use multiple lps for file types, I am using https://github.com/tekumara/typos-vscode for spell checking in my rust files via:
Is it possible, without having to go to each language and add this? With little knowledge of the codebase, or how everything comes together, I know, for example, that some comments, like
TODO
orWARN
work in all files, or at least files I have used then in.Beta Was this translation helpful? Give feedback.
All reactions