[vim/vim] Highlighting for the type notation in the import block is broken (Issue #14721)

已查看 20 次
跳至第一个未读帖子

Kyoh

未读,
2024年5月4日 13:58:095月4日
收件人 vim/vim、Subscribed

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.png (view on web)

Expected behaviour

They are highlighted like:

image.png (view on web)

(I removed type and get it)

Version of Vim

9.1.380

Environment

Linux, x256-color, zsh

Logs and stack traces

No response


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14721@github.com>

Christian Brabandt

未读,
2024年5月6日 03:00:125月6日
收件人 vim/vim、Subscribed

Please contact upstream: https://github.com/vim/vim/blob/53753f6a49253cdb3f98f6461d3de3b07ed67451/runtime/syntax/typescript.vim#L1-L6


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14721/2095313787@github.com>

Christian Brabandt

未读,
2024年5月24日 13:06:485月24日
收件人 vim/vim、Subscribed

Closed #14721 as completed via 5e45715.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/14721/issue_event/12927647747@github.com>

回复全部
回复作者
转发
0 个新帖子