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
  • 11 months ago
  • 28 minutes ago
  • 5 years ago

Installs

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