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

  • 2016.09.11.11.03.30
  • facepunch.​com
  • github.​com
  • 7 months ago
  • 41 minutes ago
  • 5 years ago

Installs

  • Total 7K
  • Win 5K
  • OS X 969
  • Linux 497
Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9
Windows 2 11 10 2 6 13 14 15 15 10 16 12 6 14 12 15 6 2 10 7 10 8 7 10 8 4 10 15 9 10 8 9 10 5 14 12 12 7 9 8 8 10 7 7 6 7
OS X 0 0 0 1 0 0 0 0 1 1 1 0 0 2 2 1 2 0 1 0 0 0 0 0 1 0 1 3 3 2 0 0 0 3 0 1 1 0 0 1 0 0 0 0 0 1
Linux 0 1 1 1 0 0 0 0 2 0 0 2 0 0 1 3 0 0 2 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 1 0 1 1 0 0 4 0 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!