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

notifications at xxxxx
Tue Sep 29 12:15:18 UTC 2020


> But do Lua source files specify which version of Lua they use, by some marker in the file? by file extension? If not how would the specific filetype be chosen when a file is opened?

The lua version is not included in the script. (An exception is a file with a shebang, but such a file is uncommon and can only be executed directly and not included with dofile.)

> Most other languages highlight all keywords of all versions, but many of them only add keywords not remove keywords, Lua would be unusual in removing them.

I assume that for consistency it should also highlight old keywords and my changes are too simple.

-- 
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-700662548
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200929/8ddc9e20/attachment.htm>


More information about the Github-comments mailing list