Texlab snippets not shown #9139
-
SummaryWhen editing a tex-file using hx with texlab LSP there are no snippets shown from the LSP. Reproduction StepsI tried this:
I expected this to happen:
Instead, this happened:
Recoding: https://asciinema.org/a/kSEMnunY6qDjA2yEB80AkJtXm Helix log~/.cache/helix/helix.logLog exceeds 65536 chars: https://pastebin.com/ZGEbZTRRPlatformLinux Terminal Emulatoralacritty 0.12.3 (5efb0690) Installation MethodArch AUR: helix-git Helix Versionhelix 23.10 (d5e6749) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Texlab uses incomplete completion rerequests (and isn't nearly as good at guessing what you want as other severs like RA). Helix, doesn't support these yet, that is a known limitation. You can press c-x to request new completions which will usually contain what you need. Once #8021 is merged we can implement that part of the spec so the request is automatic |
Beta Was this translation helpful? Give feedback.
-
Since I had a similiar problem with A Latex LSP with working built-in snippets is digestif. After installing it following the instructions on the GitHub page, its as simple as putting the following lines into your #digestif
[language-server.digestif]
command = "digestif"
[[language]]
name = "latex"
# language-servers = [ "texlab", "scls" ] # old texlab config
language-servers = [ "digestif", "scls" ] If you now open a Plus, if your Autocompletion for literature references etc. is also included. For me it works way better than |
Beta Was this translation helpful? Give feedback.
Texlab uses incomplete completion rerequests (and isn't nearly as good at guessing what you want as other severs like RA). Helix, doesn't support these yet, that is a known limitation. You can press c-x to request new completions which will usually contain what you need.
Once #8021 is merged we can implement that part of the spec so the request is automatic