VSCode-EmmyLua icon indicating copy to clipboard operation
VSCode-EmmyLua copied to clipboard

Most of the code is pink

Open Yanpas opened this issue 6 years ago • 2 comments

My theme doesn't have pink color anywhere image

Yanpas avatar Jan 21 '19 15:01 Yanpas

That pink color hints you the variable is Global, it recommends you use local variables as possible as you can. Such as function myfunc -> local function myfunc . And light green means a parameter,variables with under line means up-value. These colors can be customized:settings|extensions|emmylua

tangzx avatar Jan 25 '19 05:01 tangzx

I see, that's semantic highlighting. That's ok if it can be disabled completely

"emmylua.semantic.coloring.enabled": false e.g.

Yanpas avatar Jan 25 '19 07:01 Yanpas