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

AMX Mod X Pawn

by NiceFeatures ST4

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

Details

Installs

  • Total 7
  • Win 6
  • Mac 0
  • Linux 1
Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 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
Windows 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 1 0 0 0 0 1 0 0 0 0 2 1 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 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

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.