KristofferC / OhMyREPL.jl

Syntax highlighting and other enhancements for the Julia REPL
https://kristofferc.github.io/OhMyREPL.jl/latest/
Other
746 stars 57 forks source link

Red background for -- #310

Closed albheim closed 1 year ago

albheim commented 1 year ago

Since some recent update it seems like -- gets a red background,

image

I find it mostly ugly in the cases I have used it (e.g. pkg mode activate --temp).

No big deal, just unclear to me why this is. Found #309 which seems maybe related since it is about red background, but haven't looked into it to see if it should affect this case.

KristofferC commented 1 year ago

It should be disabled in Pkg mode. For julia code I think it makes sense since it is invalid syntax.

albheim commented 1 year ago

Okay, I agree it can make sense with julia mode. Should have posted the case I actually ran into instead of what I thought was a more basic one :sweat_smile: this is with Julia 1.9 rc1 and OhMyREPL v0.5.19, started with --startup-file=no image