ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

GMod Lua

by FPtje ST2/ST3

GMod Lua syntax highlighting for Sublime Text 2 and 3

Details

Installs

  • Total 10K
  • Win 8K
  • OS X 1K
  • Linux 609
Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2
Windows 8 8 10 17 15 15 13 19 11 16 15 14 18 10 15 8 15 18 12 15 10 14 10 12 13 12 14 10 11 14 9 7 10 6 1 12 8 14 20 7 15 16 8 16 18 13
OS X 0 0 0 0 0 0 2 2 0 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 1 1 1 0 0 1 1 0 1 0 2 0 0 1 0 0
Linux 1 0 0 0 1 0 0 2 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 1 1 1 1 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0

Readme

Source
raw.​githubusercontent.​com

GLua syntax highlighting in sublime

Installing throught the package manager:

  1. Open Sublime
  2. Install Package Control
  3. Press Ctrl + Shift + P
  4. type install and press enter
  5. Type Gmod and press enter
  6. Restart sublime text

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. This can be done by adding “Lua” to the ignored_packages setting. If you don't know how to do this, do this:

  1. Preferences > Settings - User
  2. Add a comma after the last setting
  3. Make a newline under the last setting
  4. Paste the following line: "ignored_packages": ["Vintage", "Lua"]

(Note how “Vintage” is also there. It's a package that's disabled by default.)

Installing manually:

  1. Open sublime
  2. Select Preferences > Browse Packages…
  3. Copy the folder in which this README.txt is located, to the folder that just opened
  4. Restart sublime

WHEN INSTALLED: Open a lua file and go to view > Apply Syntax Highlighting > Gmod Lua. This file and the next one you'll open will have the GLua syntax.

Credits

Thanks to @JohnnyCrazy for his wiki scraper that provides the autocomplete entries!