language-lua
language-lua copied to clipboard
Lua Syntax highlighting is a bit off
In reference to the following:
- https://github.com/atom/atom/issues/307#issuecomment-83321700
- https://github.com/atom/atom/issues/307#issuecomment-84233748
This package does not take into account typos or core Lua functions. It would be nice if it did so.
I would like to also note here that the syntax highlighting for a function that belongs to a table with numbers in the name is also off.
local function i18n.new() end
Using the monokai theme, this comes up as blue (as if I were calling the function) instead of green (as if I were defining the function)
However, this seems to highlight (green) correctly:
local function i18n() end