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

Single line comment does deactivate syntax highlighting (php) #485

Closed
sanjinso opened this issue Feb 20, 2021 · 0 comments
Closed

Single line comment does deactivate syntax highlighting (php) #485

sanjinso opened this issue Feb 20, 2021 · 0 comments

Comments

@sanjinso
Copy link

Environment info

  • OS: Win10
  • App Version (Command/Ctrl + ,): 1.9.1

Description of the problem / feature request / question:

A single line comment does deactivate .php syntax highlighting in preview view. (Editor is fine)

If possible, provide a sample gist or screenshot:

SYNTAX HIGHLIGHTING DOES NOT WORK;

function wpse_custom_menu_order( $menu_ord ) {
return array(
'index.php' //test
);
}

SYNTAX HIGHLIGHTING DOES WORK;

function wpse_custom_menu_order( $menu_ord ) {
return array(
'index.php'
);
}

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

1 participant