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

Highlighting for the type notation in the import block is broken #14721

Open
kyoh86 opened this issue May 4, 2024 · 1 comment
Open

Highlighting for the type notation in the import block is broken #14721

kyoh86 opened this issue May 4, 2024 · 1 comment
Labels

Comments

@kyoh86
Copy link

kyoh86 commented May 4, 2024

Steps to reproduce

  1. :e foo.ts
  2. Write below code
import {
    type foo
    bar
} from "./baz";
  1. And get invalid highlighting like this:
    image

Expected behaviour

They are highlighted like:

image

(I removed type and get it)

Version of Vim

9.1.380

Environment

Linux, x256-color, zsh

Logs and stack traces

No response

@kyoh86 kyoh86 added the bug label May 4, 2024
@chrisbra
Copy link
Member

chrisbra commented May 6, 2024

Please contact upstream:

" Vim syntax file
" Language: TypeScript
" Maintainer: Herrington Darkholme
" Last Change: 2023 Aug 13
" Based On: Herrington Darkholme's yats.vim
" Changes: Go to https://github.com/HerringtonDarkholme/yats.vim for recent changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants