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 10
  • Win 7
  • Mac 0
  • Linux 3
Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 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
Windows 0 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 2 1 0 1 0 0 0 0 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
Linux 0 0 0 0 1 0 0 0 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 1 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.