Skip to content
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

Multiple Language Server Hover only tries 1 LSP #11844

Open
Smithx10 opened this issue Oct 7, 2024 · 0 comments
Open

Multiple Language Server Hover only tries 1 LSP #11844

Smithx10 opened this issue Oct 7, 2024 · 0 comments
Labels
C-bug Category: This is a bug

Comments

@Smithx10
Copy link

Smithx10 commented Oct 7, 2024

Summary

When Using multiple language servers and issuing a "hover" command via "space, k" it attempts the first LSP and does not attempt the other configured LSPs.

Config:

❯ cat ~/.config/helix/languages.toml
[language-server.tailwindcss-ls]
config = { userLanguages = { templ = "html", "*.templ" = "html" } }


[language-server.htmx-lsp]
command = "htmx-lsp2"
config = { lang = "templ", template_ext = "templ", templates = [], js_tags = [], backend_tags = [] }
timeout = 5

[[language]]
name = 'templ'
scope = 'source.templ'
file-types = ['templ']
roots = ['go.work', 'go.mod']
comment-token = '//'
indent = { tab-width = 2, unit = " "}
language-servers = ['templ', 'vscode-html-language-server', 'tailwindcss-ls', 'htmx-lsp']
auto-format = true

Reproduction Steps

No response

Helix log

2024-10-07T01:20:05.193 helix_lsp::transport [INFO] templ <- {"jsonrpc":"2.0","result":null,"id":71}
2024-10-07T01:20:05.193 helix_lsp::transport [INFO] templ <- null

Platform

Linux

Terminal Emulator

alacritty

Installation Method

source

Helix Version

main

@Smithx10 Smithx10 added the C-bug Category: This is a bug label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

1 participant