language-lua icon indicating copy to clipboard operation
language-lua copied to clipboard

Lua Syntax highlighting is a bit off

Open karai17 opened this issue 10 years ago • 1 comments

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.

karai17 avatar Mar 21 '15 03:03 karai17

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

karai17 avatar Aug 20 '15 00:08 karai17