Skip to content

.gjs/.gts (ember/glimmer) not working as expected #13893

Open
@TeriyakiBomb

Description

@TeriyakiBomb

Summary

I saw support for these formats were added a while ago via #9940
But trying to test it, it does not work as expected.

I've tried both with and without config, with a separately provided tree sitter grammar, various different combinations of configurations and I can never get highlights and completions to work for handlebars and javascript/typescript in the same file. I've gone through several permutations of everything I can think of, but no dice sadly.

I've tried with the latest release and also building from main - the same result with both. Generally speaking, js/ts will highlight and complete, but glimmer syntax does not. I'm able to get glimmer working with a standalone configuration, but this does not work in .gjs or .gts files. (I've bodged it and fed the file format to a glimmer configuration and I can get glimmer working, but not js)

Image

Reproduction Steps

I tried this:

  1. hx <some .gjs/.gts file>

I expected this to happen: Full syntax highlighting, actions completions etc

Instead, this happened: js only highlighting and completion, but nothing for the glimmer/handlebars in the file

Helix log

The log returns this:

~/.cache/helix/helix.log
2025-07-04T17:26:59.315 helix_term::application [WARN] Ignoring a client/registerCapability request because dynamic capability registration is not enabled. Please report this upstream to the language server

Platform

macOS

Terminal Emulator

Ghostty

Installation Method

source/brew

Helix Version

main/latest

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