lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

Change global variable token to definition

Open comedinha opened this issue 1 year ago • 18 comments

Fixing the issue: https://github.com/LuaLS/lua-language-server/issues/2646

The TokenModifier global isn't is a default token to vscode documentation (doc). This change will set the default global colors to a different color from local variables. The token static is another option, but some themes don't define this color too.

Using for a time this change i noticed an improve in coding from my team, because this avoid some word misstakes and they can visually check if they write some variable wrong. And they don't need to change any configuration inside the vscode to define "global" in any theme.

comedinha avatar Oct 09 '24 17:10 comedinha