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
  • 7 months ago
  • 56 minutes ago
  • 12 years ago

Installs

  • Total 26K
  • Win 24K
  • Mac 1K
  • Linux 1K
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 0 7 1 3 3 3 2 3 2 1 1 2 6 3 2 6 0 1 2 2 1 3 0 7 3 3 3 2 4 3 2 1 0 2 1 1 1 2 0 1 5 4 1 2 2 3
Mac 0 0 1 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 1 0
Linux 0 0 0 0 0 0 0 0 2 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1

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!