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

Treesitter highlighting not working in Workspace Symbols Fuzzy Finder #8205

Closed
that-ambuj opened this issue Sep 8, 2023 · 0 comments · Fixed by #8206
Closed

Treesitter highlighting not working in Workspace Symbols Fuzzy Finder #8205

that-ambuj opened this issue Sep 8, 2023 · 0 comments · Fixed by #8206
Labels
C-bug Category: This is a bug

Comments

@that-ambuj
Copy link
Contributor

Summary

The Treesitter syntax highlighting does not work in workspace symbol picker's file preview if the file has not been previously opened in the current session.

File without an already open buffer

File that is currently open

Reproduction Steps

I tried this:

  1. hx in a project.
  2. <space>S for workspace symbols.
  3. <Ctrl>n and <Ctrl>p to look at previews of symbols in right window of fuzzy finder.

I expected this to happen:

The right panel to have correct syntax highlighting.

Instead, this happened:
The code in the right panel does not have syntax highlighting in most cases.

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

Linux

Terminal Emulator

Kitty

Helix Version

helix 23.05

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

Successfully merging a pull request may close this issue.

1 participant