predawn icon indicating copy to clipboard operation
predawn copied to clipboard

EJS syntax highlighting bug

Open philuchansky opened this issue 8 years ago • 1 comments

Using embedded javascript tags works well with the syntax highlighting, except for when EJS tags have nested HTML. (EJS syntax highlighting package is being used.)

Example, a for loop opening in one EJS tag, followed by HTML, followed by a closing curly to end the loop. See screenshot:

screen shot 2016-03-10 at 12 34 08 pm

This screenshot taken on Mac OS X, Sublime Text 3 (Build 3103), with the following theme-specific user settings:

"color_scheme": "Packages/Predawn/predawn.tmTheme", "theme": "predawn-DEV.sublime-theme", "predawn_tabs_active_underline": true, "predawn_tabs_small": true, "predawn_sidebar_arrows": true, "predawn_sidebar_small": true, "predawn_findreplace_small": true, "predawn_quick_panel_small": true,

This issue does not manifest using other themes.

philuchansky avatar Mar 10 '16 20:03 philuchansky

Current workaround is to open a .ejs file, then navigate to View -> Syntax -> Open All With Current Extension As -> HTML

screen shot 2016-03-10 at 12 42 11 pm

philuchansky avatar Mar 10 '16 20:03 philuchansky