I didn't like how geany highlights things in lua code which are undefined unless the user defines them: ```lua messages = { floor = "You can walk on it", ceiling = "It's above you", type = "type should also not be highlighted here", } ``` ![tmp_screenshot](https://user-images.githubusercontent.com/3192173/80305553-aaa91d80-87bd-11e...)
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 --
* Change Lua syntax highlighting
-- File Changes --
M data/filedefs/filetypes.lua (6)
-- Patch Links --
https://github.com/geany/geany/pull/2485.patch https://github.com/geany/geany/pull/2485.diff