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

Closed
kyoh86 opened this issue May 4, 2024 · 1 comment · Fixed by neovim/neovim#28975
Closed

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

kyoh86 opened this issue May 4, 2024 · 1 comment · Fixed by neovim/neovim#28975
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.

clason added a commit to clason/neovim that referenced this issue May 24, 2024
clason added a commit to neovim/neovim that referenced this issue May 25, 2024
jessepav pushed a commit to jessepav/vim-jp that referenced this issue May 25, 2024
fixes: vim#14721
fixes: HerringtonDarkholme/yats.vim#277
closes: vim#14840

Signed-off-by: rhysd <lin90162@yahoo.co.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
huangyingw pushed a commit to huangyingw/neovim that referenced this issue May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants