Sublime Forum

What package should I download for Highlighting variables that I declared

#1

What package do I use to highlight variables and functions that I myself declared and variables and
functions that I called in Lua Language?

For example:

local yourname = “Deidre Deebadoodoo”

function sayhi(name)

if yourname == name then

print(“hi DeeDee!!”)

else
print(“hi”)
end

end

sayhi(“frank”)

I want to be able to have sublime identify a user defined function and/or variable and color the text as a keyword.

ps:
Yall need to implement a color function to the format bar so that I could demonstrate my example in the best possible way.

0 Likes