John Davies
John Davies
@Thom1729 would you mind explaining in a bit more detail how the JS Custom package should be set up to show html syntax within `` backticks in JS files? ![screen...
@Thom1729 Thanks for the info! Just updated the package and tried that config. I'm now getting the recursion warning someone mentioned above. Any idea how to fix? Do I need...
I'm running build 3170, which is 3.1 according to the sublime site, but 3.0 in my about window. Had to remove some user package files after removing the JS Custom...
Hmm. This isn't straightforward is it :( Putting html before a backtick makes the JS invalid, Vue can't execute it.
I personally would find a syntax highlighter useful that assumes all backtick blocks in JS contain html, since I never use them for anything else in JS files.
I'm not saying this should be default JS highlighting at all, I'm just trying to get a solution to work for my own case, and would imagine other people would...
Aha! That works, thanks :)
...And now the recursion errors are back when reopening Sublime 😠Regular HTML syntax highlighting appears to be hosed. Sublime build 3176 Latest JSCustom, with the settings suggested above Have...
https://github.com/bathos/Ecmascript-Sublime works great, I can live with those syntax declaration comments. Thanks again @Thom1729
Super-delayed thanks for that last post :) Have been using JS Custom with these settings for months, working perfectly for my needs. Just posting here for reference: ![screen shot 2018-08-23...