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

GMod Lua

by FPtje ST2/ST3 Trending

GMod Lua syntax highlighting for Sublime Text 2 and 3

Details

Installs

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

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!