GLua Highlighters

From Nutscript Developer Wiki
Jump to navigation Jump to search

Sublime Text[edit]

If you are using Sublime Text 3 then you should get FPtje's Sublime GLua Hihglight plugin. The instructions are simple[1]:

  1. Download the plugin
  2. Open Sublime
  3. Select Preferences > Browse Packages...
  4. Copy the folder in which the is located, to the folder that just opened
  5. Restart sublime

Disabling the Lua plugin[edit]

When using Sublime Text 3 you will have to disable the default Lua plugin. Otherwise the default Lua plugin will remain as the default syntax highlight for all .lua files.

  1. Preferences > Settings - User
  2. Add a comma after the last setting (if there is one)
  3. Make a newline under the last setting (if there is one)
  4. Paste the following line: "ignored_packages": ["Lua"]

If you already have a ignored_packages setting, please add Lua to it, like this "ignored_packages": ["SomeRandomPackage", "Lua"]


If you are using Atom then follow these steps:

  1. Open Atom
  2. Packages > Settings View > Install Packages/Themes
  3. Type language-gmod-lua in the search bar
  4. Click install in the package from Lixquid
  5. Search glua-autocomplete
  6. Click install in the package from JohnnyCrazy
  7. Restart Atom

You can also find these packages here and here


  1. FPtje's Readme, FPtje's instructions for Sublime Text.