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

Hung with perl code use open qw(:... #4070

Closed
sshilovsky opened this issue Oct 2, 2022 · 2 comments
Closed

Hung with perl code use open qw(:... #4070

sshilovsky opened this issue Oct 2, 2022 · 2 comments
Labels
A-tree-sitter Area: Tree-sitter C-bug Category: This is a bug upstream

Comments

@sshilovsky
Copy link

Summary

When typing in this certain code sequence, helix hungs.

Reproduction Steps

I tried this:

  1. hx test.pl

  2. In insert mode, type: use open qw(:

the final character : isn't displayed, helix seems to hung. Ctrl+C doesn't help

Helix log

~/.cache/helix/helix.log
2022-10-02T18:14:45.514 helix_view::editor [ERROR] Failed to initialize the LSP for `source.perl` { LSP not defined }

Platform

Linux

Terminal Emulator

alacritty 0.10.1 ()

Helix Version

helix 22.08.1 (5b5f1bd)

@sshilovsky sshilovsky added the C-bug Category: This is a bug label Oct 2, 2022
@A-Walrus
Copy link
Contributor

A-Walrus commented Oct 4, 2022

Was able to reproduce as well. It only happens at the end of the document when there is no newline after it.

@pascalkuthe
Copy link
Member

Closed by #7644

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tree-sitter Area: Tree-sitter C-bug Category: This is a bug upstream
Projects
None yet
Development

No branches or pull requests

4 participants