I didn't like how geany highlights things in lua code which are undefined unless the user defines them:

messages = {
	floor = "You can walk on it",
	ceiling = "It's above you",
	type = "type should also not be highlighted here",
}

tmp_screenshot

I have removed some keywords which are undefined in Lua; it's a simple change, so type in the above example and other things are still highlighted even when they shouldn't.

Add goto to the basic functions
Remove math and os fields; for example, still highlight math.sin but not sin because sin is not defined by default.
I did not remove fields which are methods, so for example read is still highlighted so that it is shown in myfile:read()


You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2485

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.