Skip to content

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

Texlab snippets not shown #9138

Closed
hnorkowski opened this issue Dec 22, 2023 · 1 comment
Closed

Texlab snippets not shown #9138

hnorkowski opened this issue Dec 22, 2023 · 1 comment
Labels
C-bug Category: This is a bug

Comments

@hnorkowski
Copy link
Contributor

Summary

When editing a tex-file using hx with texlab LSP there are no snippets shown from the LSP.
However, they work with the same LSP (and version) in neovim and vscode.

Reproduction Steps

I tried this:

  • Opening tex file in hx with texlab LSP and typing \begin on a new line

I expected this to happen:

  • Autocomplete offering a begin snippet that also adds \end and let me edit the name of the environment at both places at once

Instead, this happened:

  • No snippet shown
  • While testing it randomly worked a single time but never again.

Recoding: https://asciinema.org/a/kSEMnunY6qDjA2yEB80AkJtXm

Helix log

~/.cache/helix/helix.log Log exceeds 65536 chars: https://pastebin.com/ZGEbZTRR

Platform

Linux

Terminal Emulator

alacritty 0.12.3 (5efb0690)

Installation Method

Arch AUR: helix-git

Helix Version

helix 23.10 (d5e6749)

@hnorkowski hnorkowski added the C-bug Category: This is a bug label Dec 22, 2023
@pascalkuthe
Copy link
Member

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

@helix-editor helix-editor locked and limited conversation to collaborators Dec 22, 2023
@pascalkuthe pascalkuthe converted this issue into discussion #9139 Dec 22, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants