FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    LUA-code highlighting on the forums

    Scheduled Pinned Locked Moved Suggestions
    1 Posts 1 Posters 121 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JipJ Offline
      Jip
      last edited by Jip

      Is it possible to support LUA-code highlighting on the forums?

      As an example, it does support C highlighting:

      // this is C code
      int main (string args)
      {  return 0; }
      

      But at the moment of writing it does not support LUA highlighting:

      -- Example input:
      -- dir          = C:/Steam/steamapps/common/Supreme Commander/gamedata/env.scd
      -- mountpoint   = /env
      local function mount_dir(dir, mountpoint)
          table.insert(path, { dir = dir, mountpoint = mountpoint })
      end
      

      A work of art is never finished, merely abandoned

      1 Reply Last reply Reply Quote 2
      • First post
        Last post