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

GMod Lua

by FPtje ALL

GMod Lua syntax highlighting for Sublime Text 2 and 3

Details

  • 2023.12.25.09.17.08
  • facepunch.​com
  • 10 months ago
  • 1 hour ago
  • 13 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

GLua syntax highlighting in sublime

Important

Since I (FPtje) have moved away from Sublime, I no longer have time to maintain this repository. That means that I will not be solving bugs or updating the definitions. Pull requests will still be accepted and merged, but issues will not be.

Installing through 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 and @djtb2924 for their wiki scrapers that provides the autocomplete entries!