hackjutsu / Lepton

💻 Democratizing Snippet Management (macOS/Win/Linux)
https://hackjutsu.com/Lepton
MIT License
10.13k stars 475 forks source link

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

Closed sanjinso closed 3 years ago

sanjinso commented 3 years ago

Environment info

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' ); }