Open GrigorySarnitsky opened 1 year ago
This is probably an issue with CodeMirror which is what JupyterLab uses to do syntax highlighting. https://github.com/codemirror/codemirror5
IJulia itself has no control over syntax highlighting in the web frontend.
It seems that "in" is not a keyword in mode/julia/julia.js
and "in" is not highlighted in CodeMirror Julia demo https://codemirror.net/5/mode/julia/.
I will be looking further for the source of this behavior.
The keyword
in
is not always highlighted. For example it is highlighted infor i in 1:10
but not in
for i in (1):10
Meanwhile
∈
is highlighted in both cases.I am using JupyterLab with Julia version: