face-hh / griddycode

A code editor made with Godot. Code has never been more lit!
Apache License 2.0
1.82k stars 115 forks source link

Unify the syntax of files in the Plugins dir #51

Closed uynilo9 closed 8 months ago

uynilo9 commented 8 months ago

Is your feature request related to a problem? Please describe. Not really. But they should be unified so they're more readable.

-- lua.lua
local BINARY = "binary";
local RESERVED = "reserved";
local OPERATOR = "operator";
local VARIABLE = "variable";

local hl = highlight;
local hlreg = highlight_region;

hl("false",BINARY);
hl("true",BINARY);
hl("nil",RESERVED);

-- bs.lua
highlight("let", "reserved")
highlight("const", "reserved")

Describe the solution you'd like Including semicolons, alias, quotes, spaces and etc. For example, we should ban the use of semicolons and alias, and only use " instead of any '

face-hh commented 8 months ago

I don't see how this is a problem, the files were created by 2 completely different people with 2 completely different coding styles. Readability wasn't a concern to me while reviewing either at all

uynilo9 commented 8 months ago

I see. Thanks for your answer <3