Skip to content

Grammars fetched and built but not in use #3407

Closed
@JaimeArboleda

Description

@JaimeArboleda

Summary

I have installed helix on Ubuntu. The version is 22.05.

I already run hx --grammar fetch and hx --grammar build. If I run it again, the output says that I have everything:

...
Grammar 'edoc' is already built.
Grammar 'ungrammar' is already built.
Grammar 'dot' is already built.
Grammar 'cue' is already built.
Grammar 'elvish' is already built.
Grammar 'fortran' is already built.
...

And in my runtime configuration folder I see the grammars objects there. However, I don't have it available. For example if I run hx --health python I see the following output:

Configured language server: pylsp
Binary for language server: /home/jaime/.local/bin/pylsp
Configured debug adapter: None
Highlight queries: ✘
Textobject queries: ✘
Indent queries: ✘

So I dont see syntax highlighting.

Reproduction Steps

I tried this:

  1. hx

I expected this to happen:

Instead, this happened:

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

Ubuntu

Terminal Emulator

I dont know

Helix Version

22.05

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions