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

AMX Mod X Pawn

by NiceFeatures ST4 New

Sublime Text 4 syntax highlighting for AMX Mod X Pawn (.sma and .inc)

Details

Installs

  • Total 0
  • Win 0
  • Mac 0
  • Linux 0
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 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2
Windows 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
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
Linux 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

Readme

Source
raw.​githubusercontent.​com

AMX Mod X Pawn Syntax

Sublime Text syntax highlighting for AMX Mod X Pawn (.sma and .inc files), with dedicated support for ReAPI, standard natives, preprocessor directives, and Pawn constructs.

✨ Features

  • AMX Mod X & ReAPI Highlight: Recognizes Pawn 3.2 keywords, types, tags (Float:, bool:, any:), and ReAPI natives.
  • File Extensions: Automatically applies to .sma, .inc, and .pwn files.
  • Scope: Provides source.pawn (standard scope compatible with linters and LSP).
  • Sublime Text 4: Built using modern .sublime-syntax (compatible with Build 4000+).

🚀 Installation

Via Package Control (Recommended)

  1. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  2. Select Package Control: Install Package.
  3. Search for AMX Mod X Pawn and press Enter.

Manual Installation

  1. Clone this repository into your Sublime Text Packages directory:
# Windows
   git clone https://github.com/NiceFeatures/sublime-pawn-syntax.git "%APPDATA%\Sublime Text\Packages\sublime-pawn-syntax"

   # Linux
   git clone https://github.com/NiceFeatures/sublime-pawn-syntax.git ~/.config/sublime-text/Packages/sublime-pawn-syntax
  1. Restart Sublime Text.

🔌 Language Server & Autocomplete

For complete IDE features including autocompletion with parameter documentation, Go to Definition (F12), hover tooltips, and 1-click amxxpc compilation, install LSP-pawnforge.

📜 License

GPL-3.0 License. See LICENSE.txt for details.