Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This is an emacs major mode for SourcePawn plugin development. It has Pawn syntax aware code highlighting, in addition to highlighting of SourceMode-specific constants and function names. It is licensed under the GNU GPL v3. See `LICENSE` for details. If you have downloaded this as an archive from the internet, chances are there is a file named `sourcepawn-mode.el` in this directory. The comments at the top of this file will tell you how to install it. If you downloaded this from my git repository, or if `sourcepawn-mode.el` does not exist, you can generate it. Copy all of the SourcePawn include files into `sp-include`, then run `make`. This will scan the include files for constant and function names, then generate optimized regular expressions, then copy these expressions into `sourcepawn-mode.el.in`, thereby creating `sourcepawn-mode.el`. --- Files in this package: README this file LICENSE the GNU GPL v3, which sourcepawn-mode is licensed under Makefile used to easily regenerate the source sourcepawn-mode.el.in a template file with all the code but the autogenerated regexps. sp-include/ copy the SourceMod Pawn include files here tools/scan.el an Emacs script to scan `sp-include/` for names to syntax highlight tools/generate.el an Emacs script to create optimized regexps from `scan.el` data, and write it to `sourcepawn-mode.el` keywords/ files containing code highlighting words that cannot be autogenerated keywords/generated/ files containing autogenerated keywords, from `scan.el` test-files/ test files in SourceMod Pawn