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

Add syntax highlighting for multiline array PHPDoc #192

Open
maicol07 opened this issue Oct 27, 2021 · 1 comment
Open

Add syntax highlighting for multiline array PHPDoc #192

maicol07 opened this issue Oct 27, 2021 · 1 comment

Comments

@maicol07
Copy link

maicol07 commented Oct 27, 2021

Example:

/**
 * @param array{
 *	a: int,
 *	b: int
 *  } $arr
 */
 function c(array $arr) {}

Should be highlighted like the one-line syntax:

/**
 * @param array{a: int,b: int} $arr
 */ 
 function c(array $arr) {}
@klesun
Copy link
Owner

klesun commented Oct 27, 2021

Related: #132

It would indeed be nice, though I gave up as I did not manage to make it work with Language Injections ;c

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

No branches or pull requests

2 participants