Skip to content

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

@kyoh86

Description

@kyoh86

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions