Open orcun opened 5 years ago
Sorry, I was not getting notifications for this repo. A reboot of your PR #6 is welcome
I'm not familiar with vscode language extensions, is there a way for it to delegate the internal format ... i.e. for mytemplate.xyz.scriban
, the xyz
part to the XYZ language extension, and then render the scriban syntax as an addition?
https://superuser.com/questions/1537646/syntax-highlighting-for-embedded-languages-in-vs-code https://stackoverflow.com/questions/68914467/how-to-syntax-highlight-nested-items-in-vscode-tmlanguage-json
Looks like nested scopes is a thing?
https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide
File extensions are very limited. Here is my suggestion, but I'm not sure if vscode supports this. I'll give it a shot and update this issue.
Plain scripts:
This might help extending file extension support.