Replies: 2 comments 1 reply
|
ChatGPT thinks Bat can not do this, because the babel-sublime syntax definition used by Bat is not able to recognize a declaration. Is this correct? I was searching: https://github.com/babel/babel-sublime/blob/f4579f9107996c16208466248a85dc2296083a5f/JavaScript%20(Babel).YAML-tmLanguage And I found the scope |
|
Not with the theme alone. In So the practical answer is:
That matches what you found in the Babel/Sublime syntax. If you want Emacs-style declaration-only coloring, you would need to modify or replace the JavaScript |
Uh oh!
There was an error while loading. Please reload this page.
I try to create a theme, which mimics an Emacs style. In Emacs the definition of a variable gets colorized but not its usage. For example in the following code
the identifiers following
const(isplainobjectandc) do have a color, but thecs in the if-conditions do not have a color.How can this be specified in the style?
All reactions