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

Broken syntax highlighting for vlang #12885

Open
hholst80 opened this issue Feb 16, 2025 · 0 comments
Open

Broken syntax highlighting for vlang #12885

hholst80 opened this issue Feb 16, 2025 · 0 comments
Labels
C-bug Category: This is a bug

Comments

@hholst80
Copy link

Summary

This is the current rendering in Helix (v24.7)

Image

And this is Neovim:

Image

Both uses treesitter for their syntax.

Reproduction Steps

struct ManifestBlob {
        media_type string @[json: 'mediaType']
        size       int
        digest     string
}

Helix log

Language             LSP                  DAP                  Formatter            Highlight            Textobject           Indent               

v                    ✓ v-analyzer         None                 None                 ✓                    ✓                    ✓                    
2025-02-16T16:45:48.891 helix_lsp::transport [ERROR] vlang-language-server err: <- StreamClosed
2025-02-16T16:45:48.891 helix_lsp::client [WARN] language server failed to terminate gracefully - server closed the stream
2025-02-16T16:45:48.892 helix_lsp::transport [ERROR] vlang-language-server err: <- IO(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })

Platform

Linux

Terminal Emulator

Foot

Installation Method

source

Helix Version

helix 24.7 (3f52849)

@hholst80 hholst80 added the C-bug Category: This is a bug label Feb 16, 2025
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

No branches or pull requests

1 participant