diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 0a658e4e..df47e347 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -1172,6 +1172,14 @@ Oxygene: color: "#5a63a3" primary_extension: .oxygene +PAWN: + type: programming + lexer: C++ + color: "#dbb284" + primary_extension: .pwn + extensions: + - .inc + PHP: type: programming ace_mode: php diff --git a/samples/PAWN/a_samp.inc b/samples/PAWN/a_samp.inc new file mode 100644 index 00000000..c8f53d4c --- /dev/null +++ b/samples/PAWN/a_samp.inc @@ -0,0 +1,361 @@ +/* SA-MP Functions + * + * (c) Copyright 2005-2012, SA-MP Team + * + */ + +#if defined _samp_included + #endinput +#endif +#define _samp_included +#pragma library samp + +#pragma tabsize 4 +// Ignores warning 217 for properly indented PAWNO code +// It's tab size is 4 and often uses 4 spaces instead, PAWNCC's is 8 + +#include +#include +#include +#include +#include