[Github-comments] [geany/geany] Lua syntax highlighting changes (#2485)

Skif-off notifications at xxxxx
Tue Sep 29 06:56:18 UTC 2020


In the first, we needs to define a minimum Lua version. Maybe 5.1+?

Because:

> which are undefined unless the user defines them:

`floor` is valid and defined, see Lua 4.x.x documentation.

> for example, still highlight math.sin but not sin because sin is not defined by default.

it's not true too: see Lua 4.x.x documentation.

Why did I think and write about Lua 4.x.x? It's simple: I see `strlen`, `strlower`, `strrep`, `strsub` and other.

P.S. `type` is a bad example: this is a function from the basic library.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2485#issuecomment-700491275
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200928/5857ae7c/attachment.htm>


More information about the Github-comments mailing list