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

"$(command)" breaks highlighting in fish files #3699

Closed
sshilovsky opened this issue Sep 4, 2022 · 1 comment
Closed

"$(command)" breaks highlighting in fish files #3699

sshilovsky opened this issue Sep 4, 2022 · 1 comment
Labels
A-tree-sitter Area: Tree-sitter C-bug Category: This is a bug upstream

Comments

@sshilovsky
Copy link

sshilovsky commented Sep 4, 2022

Summary

"$(command)" breaks highlighting in fish files

UPD This syntax is only available since fish 3.4 though.

Reproduction Steps

Edit a *.fish file as follows:

echo $(echo 1)
echo "$(echo 2)"

syntax highlighting breaks when the second line is present

Helix log

~/.cache/helix/helix.log
2022-09-05T02:53:52.835 helix_view::editor [ERROR] Failed to initialize the LSP for `source.fish` { LSP not defined }

Platform

Linux

Terminal Emulator

alacritty 0.10.1 ()

Helix Version

helix 22.08 (ee94031)

@sshilovsky sshilovsky added the C-bug Category: This is a bug label Sep 4, 2022
@the-mikedavis
Copy link
Member

Fixed by #3704

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

2 participants