First commit

This commit is contained in:
Pierre Hubert
2016-11-19 12:08:12 +01:00
commit 990540b2b9
4706 changed files with 931207 additions and 0 deletions

View File

@ -0,0 +1,301 @@
<?php
/**
* C and C++ keywords/functions
* Some Qt things here as well.
*/
global $luminous_c_funcs;
global $luminous_c_types;
global $luminous_c_keywords;
$luminous_c_keywords = array(
'asm', 'auto', 'break', 'case', 'catch', 'class', 'continue', 'const',
'const_cast', 'connect', 'default', 'delete', 'do', 'dynamic_cast',
'else', 'explicit', 'extern', 'for', 'for_each', 'friend', 'goto',
'if', 'inline', 'mutable', 'namespace', 'new', 'operator', 'private',
'protected', 'public', 'register', 'reinterpret_cast', 'return',
'static', 'static_cast', 'switch', 'sizeof', 'signed',
'template', 'this',
'throw', 'try', 'typedef', 'typeid', 'typename', 'using', 'unsigned',
'while',
'NULL', 'SIGNAL', 'SLOT', 'TRUE', 'FALSE', 'true', 'false');
$luminous_c_types = array(
'bool', 'char', 'clock_t', 'double', 'div_t', 'enum', 'float', 'fpos_t',
'int', 'int8', 'int16', 'int32', 'int64', 'int8_t', 'int16_t', 'int32_t',
'int64_t', 'long', 'ldiv_t', 'short', 'struct', 'size_t', 'ptrdiff_t',
'time_t', 'union', 'uint', 'uint8', 'uint16', 'uint32', 'uint64', 'uint8_t',
'uint16_t', 'uint32_t', 'uint64_t', 'void', 'va_list', 'wchar_t',
// C++ std stuff
'pair', 'list', 'deque', 'queue', 'priority_queue', 'set', 'stack', 'string',
'map', 'multiset', 'multimap', 'hash_set', 'hash_multiset', 'hash_map',
'hash_multimap', 'bitset', 'vector', 'valarray', 'iterator'
);
// http://en.wikipedia.org/wiki/List_of_C_functions
// inb4 deletionists
$luminous_c_funcs = array(
'assert',
'cabs',
'cacos',
'cacosh',
'carg',
'casin',
'casinh',
'catan',
'catanh',
'ccos',
'ccosh',
'cexp',
'cimag',
'cis',
'clog',
'conj',
'cpow',
'cproj',
'creal',
'csin',
'csinh',
'csqrt',
'ctan',
'ctanh',
'digittoint',
'isalnum',
'isalpha',
'isascii',
'isblank',
'iscntrl',
'isdigit',
'isgraph',
'islower',
'isprint',
'ispunct',
'isspace',
'isupper',
'isxdigit',
'toascii',
'tolower',
'toupper',
'imaxabs',
'imaxdiv',
'strtoimax',
'strtoumax',
'wcstoimax',
'wcstoumax',
'localeconv',
'setlocale',
'acos',
'asin',
'atan',
'atan2',
'atof',
'ceil',
'cos',
'cosh',
'exp',
'fabs',
'floor',
'frexp',
'ldexp',
'log',
'log10',
'modf',
'pow',
'sin',
'sinh',
'sqrt',
'tan',
'tanh',
'longjmp',
'setjmp',
'raise',
'va_arg',
'va_copy',
'va_end',
'va_start',
'offsetof',
'clearerr',
'fclose',
'feof',
'ferror',
'fflush',
'fgetc',
'fgetpos',
'fgets',
'fopen',
'freopen',
'fdopen',
'fprintf',
'fputc',
'fputs',
'fread',
'fscanf',
'fseek',
'fsetpos',
'ftell',
'fwrite',
'getc',
'getchar',
'gets',
'perror',
'printf',
'fprintf',
'sprintf',
'snprintf',
'putc',
'putchar',
'fputchar',
'puts',
'remove',
'rename',
'rewind',
'scanf',
'fscanf',
'sscanf',
'vfscanf',
'vscanf',
'vsscanf',
'setbuf',
'setvbuf',
'tmpfile',
'tmpnam',
'ungetc',
'vprintf',
'vfprintf',
'vsprintf',
'abort',
'abs',
'labs',
'atexit',
'atof',
'atoi',
'atol',
'bsearch',
'div',
'ldiv',
'exit',
'free',
'itoa',
'getenv',
'ldiv',
'ltoa',
'malloc',
'alloc',
'realloc',
'qsort',
'rand',
'srand',
'strtod',
'strtol',
'strtoul',
'system',
'memchr',
'memcmp',
'memcpy',
'memmove',
'memset',
'strcat',
'strncat',
'strchr',
'strcmp',
'strncmp',
'strcoll',
'strcpy',
'strncpy',
'strcspn',
'strerror',
'strlen',
'strpbrk',
'strrchr',
'strspn',
'strstr',
'strtok',
'strxfrm',
'asctime',
'clock',
'ctime',
'difftime',
'gmtime',
'localtime',
'mktime',
'strftime',
'time',
'btowc',
'fgetwc',
'fgetws',
'fputwc',
'fputws',
'fwide',
'fwprintf',
'fwscanf',
'getwc',
'getwchar',
'mbrlen',
'mbrtowc',
'mbsinit',
'mbsrtowcs',
'putwc',
'putwchar',
'swprintf',
'swscanf',
'ungetwc',
'vfwprintf',
'vswprintf',
'vwprintf',
'wcrtomb',
'wcscat',
'wcschr',
'wcscmp',
'wcscoll',
'wcscpy',
'wcscspn',
'wcsftime',
'wcslen',
'wcsncat',
'wcsncmp',
'wcsncpy',
'wcspbrk',
'wcsrchr',
'wcsrtombs',
'wcsspn',
'wcsstr',
'wcstod',
'wcstok',
'wcstol',
'wcstoul',
'wcsxfrm',
'wctob',
'wmemchr',
'wmemcmp',
'wmemcpy',
'wmemmove',
'wmemset',
'wprintf',
'wscanf',
'iswalnum',
'iswalpha',
'iswcntrl',
'iswctype',
'iswdigit',
'iswgraph',
'iswlower',
'iswprint',
'iswpunct',
'iswspace',
'iswupper',
'iswxdigit',
'towctrans',
'towlower',
'towupper',
'wctrans',
'wctype',
'farmalloc',
'getch',
'getche',
'gotoxy',
'getaddrinfo',
'getnameinfo',
);

View File

@ -0,0 +1,261 @@
<?php
$luminous_csharp_type_list = array(
// system
'ArgIterator',
'ArraySegment',
'Boolean',
'Byte',
'Char',
'ConsoleKeyInfo',
'DateTime',
'DateTimeOffset',
'Decimal',
'Double',
'Guid',
'Int16',
'Int32',
'Int64',
'IntPtr',
'ModuleHandle',
'Nullable',
'RuntimeArgumentHandle',
'RuntimeFieldHandle',
'RuntimeMethodHandle',
'RuntimeTypeHandle',
'SByte',
'Single',
'TimeSpan',
'TimeZoneInfo',
'TypedReference',
'UInt16',
'UInt32',
'UInt64',
'UIntPtr',
'Void',
// also system
'AccessViolationException',
'ActivationContext',
'Activator',
'AggregateException',
'AppDomain',
'AppDomainManager',
'AppDomainSetup',
'AppDomainUnloadedException',
'ApplicationException',
'ApplicationId',
'ApplicationIdentity',
'ArgumentException',
'ArgumentNullException',
'ArgumentOutOfRangeException',
'ArithmeticException',
'Array',
'ArrayTypeMismatchException',
'AssemblyLoadEventArgs',
'Attribute',
'AttributeUsageAttribute',
'BadImageFormatException',
'BitConverter',
'Buffer',
'CannotUnloadAppDomainException',
'CharEnumerator',
'CLSCompliantAttribute',
'Console',
'ConsoleCancelEventArgs',
'ContextBoundObject',
'ContextMarshalException',
'ContextStaticAttribute',
'Convert',
'DataMisalignedException',
'DBNull',
'Delegate',
'DivideByZeroException',
'DllNotFoundException',
'DuplicateWaitObjectException',
'EntryPointNotFoundException',
'Enum',
'Environment',
'EventArgs',
'Exception',
'ExecutionEngineException',
'FieldAccessException',
'FileStyleUriParser',
'FlagsAttribute',
'FormatException',
'FtpStyleUriParser',
'GC',
'GenericUriParser',
'GopherStyleUriParser',
'HttpStyleUriParser',
'IndexOutOfRangeException',
'InsufficientExecutionStackException',
'InsufficientMemoryException',
'InvalidCastException',
'InvalidOperationException',
'InvalidProgramException',
'InvalidTimeZoneException',
'Lazy',
'LdapStyleUriParser',
'LoaderOptimizationAttribute',
'LocalDataStoreSlot',
'MarshalByRefObject',
'Math',
'MemberAccessException',
'MethodAccessException',
'MissingFieldException',
'MissingMemberException',
'MissingMethodException',
'MTAThreadAttribute',
'MulticastDelegate',
'MulticastNotSupportedException',
'NetPipeStyleUriParser',
'NetTcpStyleUriParser',
'NewsStyleUriParser',
'NonSerializedAttribute',
'NotFiniteNumberException',
'NotImplementedException',
'NotSupportedException',
'Nullable',
'NullReferenceException',
'Object',
'ObjectDisposedException',
'ObsoleteAttribute',
'OperatingSystem',
'OperationCanceledException',
'OutOfMemoryException',
'OverflowException',
'ParamArrayAttribute',
'PlatformNotSupportedException',
'Random',
'RankException',
'ResolveEventArgs',
'SerializableAttribute',
'StackOverflowException',
'STAThreadAttribute',
'String',
'StringComparer',
'SystemException',
'ThreadStaticAttribute',
'TimeoutException',
'TimeZone',
'TimeZoneInfo',
'TimeZoneInfo',
'TimeZoneNotFoundException',
'Tuple',
'Type',
'TypeAccessException',
'TypeInitializationException',
'TypeLoadException',
'TypeUnloadedException',
'UnauthorizedAccessException',
'UnhandledExceptionEventArgs',
'Uri',
'UriBuilder',
'UriFormatException',
'UriParser',
'UriTemplate',
'UriTemplateEquivalenceComparer',
'UriTemplateMatch',
'UriTemplateMatchException',
'UriTemplateTable',
'UriTypeConverter',
'ValueType',
'Version',
'WeakReference',
// system.collections
'ArrayList',
'BitArray',
'CaseInsensitiveComparer',
'CaseInsensitiveHashCodeProvider',
'CollectionBase',
'Comparer',
'DictionaryBase',
'DictionaryEntry',
'Hashtable',
'ICollection',
'IComparer',
'IDictionary',
'IDictionaryEnumerator',
'IEnumerable',
'IEnumerator',
'IEqualityComparer',
'IHashCodeProvider',
'IList',
'IStructuralComparable',
'IStructuralEquatable',
'Queue',
'ReadOnlyCollectionBase',
'SortedList',
'Stack',
'StructuralComparisons',
// System.Collections.Generic
'Comparer',
'Dictionary',
'EqualityComparer',
'HashSet',
'ICollection',
'IComparer',
'IDictionary',
'IEnumerable',
'IEnumerator',
'IEqualityComparer',
'IList',
'IReadOnlyCollection',
'IReadOnlyDictionary',
'IReadOnlyList',
'ISet',
'KeyedByTypeCollection',
'KeyNotFoundException',
'KeyValuePair',
'LinkedList',
'LinkedListNode',
'List',
'Queue',
'SortedDictionary',
'SortedList',
'SortedSet',
'Stack',
'SynchronizedCollection',
'SynchronizedKeyedCollection',
'SynchronizedReadOnlyCollection',
// system.io
'BinaryReader',
'BinaryWriter',
'BufferedStream',
'Directory',
'DirectoryInfo',
'DirectoryNotFoundException',
'DriveInfo',
'DriveNotFoundException',
'EndOfStreamException',
'ErrorEventArgs',
'File',
'FileFormatException',
'FileInfo',
'FileLoadException',
'FileNotFoundException',
'FileStream',
'FileSystemEventArgs',
'FileSystemInfo',
'FileSystemWatcher',
'InternalBufferOverflowException',
'InvalidDataException',
'IODescriptionAttribute',
'IOException',
'MemoryStream',
'Path',
'PathTooLongException',
'PipeException',
'RenamedEventArgs',
'Stream',
'StreamReader',
'StreamWriter',
'StringReader',
'StringWriter',
'TextReader',
'TextWriter',
'UnmanagedMemoryAccessor',
'UnmanagedMemoryStream',
);

View File

@ -0,0 +1,6 @@
<?php
require_once (dirname(__FILE__) . '/../ecmascript.php');
require_once (dirname(__FILE__) . '/../javascript.php');
require_once (dirname(__FILE__) . '/../html.php');

View File

@ -0,0 +1,265 @@
<?php
// http://www.haskell.org/onlinereport/prelude-index.html
global $luminous_haskell_functions;
global $luminous_haskell_types;
global $luminous_haskell_values;
global $luminous_haskell_keywords;
$luminous_haskell_keywords = array('as',
'case',
'of',
'class',
'data',
'family',
'instance',
'default',
'deriving',
'do',
'forall',
'foreign',
'hiding',
'if',
'then',
'else',
'import',
'infix',
'infixl',
'infixr',
'let',
'in',
'mdo',
'module',
'newtype',
'proc',
'qualified',
'rec',
'type',
'where');
$luminous_haskell_types = array(
'Bool',
'Char',
'Double',
'Either',
'FilePath',
'Float',
'Int',
'Integer',
'IO',
'IOError',
'Maybe',
'Ordering',
'ReadS',
'ShowS',
'String',
'Bounded',
'Enum',
'Eq',
'Floating',
'Fractional',
'Functor',
'Integral',
'Monad',
'Num',
'Ord',
'Read',
'Real',
'RealFloat',
'RealFrac',
'Show'
);
$luminous_haskell_values = array(
'EQ',
'False',
'GT',
'Just',
'Left',
'LT',
'Nothing',
'Right',
'True',
);
$luminous_haskell_functions = array(
'abs',
'acos',
'acosh',
'all',
'and',
'any',
'appendFile',
'applyM',
'asTypeOf',
'asin',
'asinh',
'atan',
'atan2',
'atanh',
'break',
'catch',
'ceiling',
'compare',
'concat',
'concatMap',
'const',
'cos',
'cosh',
'curry',
'cycle',
'decodeFloat',
'div',
'divMod',
'drop',
'dropWhile',
'elem',
'encodeFloat',
'enumFrom',
'enumFromThen',
'enumFromThenTo',
'enumFromTo',
'error',
'even',
'exp',
'exponent',
'fail',
'filter',
'flip',
'floatDigits',
'floatRadix',
'floatRange',
'floor',
'fmap',
'foldl',
'foldl1',
'foldr',
'foldr1',
'fromEnum',
'fromInteger',
'fromIntegral',
'fromRational',
'fst',
'gcd',
'getChar',
'getContents',
'getLine',
'head',
'id',
'init',
'interact',
'ioError',
'isDenormalized',
'isIEEE',
'isInfinite',
'isNaN',
'isNegativeZero',
'iterate',
'last',
'lcm',
'length',
'lex',
'lines',
'log',
'logBase',
'lookup',
'map',
'mapM',
'mapM_',
'max',
'maxBound',
'maximum',
'maybe',
'min',
'minBound',
'minimum',
'mod',
'negate',
'not',
'notElem',
'null',
'odd',
'or',
'otherwise',
'pi',
'pred',
'print',
'product',
'properFraction',
'putChar',
'putStr',
'putStrLn',
'quot',
'quotRem',
'read',
'readFile',
'readIO',
'readList',
'readLn',
'readParen',
'reads',
'readsPrec',
'realToFrac',
'recip',
'rem',
'repeat',
'replicate',
'return',
'reverse',
'round',
'scaleFloat',
'scanl',
'scanl1',
'scanr',
'scanr1',
'seq',
'sequence',
'sequence_',
'show',
'showChar',
'showList',
'showParen',
'showString',
'shows',
'showsPrec',
'significand',
'signum',
'sin',
'sinh',
'snd',
'span',
'splitAt',
'sqrt',
'subtract',
'succ',
'sum',
'tail',
'take',
'takeWhile',
'tan',
'tanh',
'toEnum',
'toInteger',
'toRational',
'truncate',
'uncurry',
'undefined',
'unlines',
'until',
'unwords',
'unzip',
'unzip3',
'userError',
'words',
'writeFile',
'zip',
'zip3',
'zipWith',
'zipWith3',);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

268
3rdparty/luminous/languages/include/sql.php vendored Executable file
View File

@ -0,0 +1,268 @@
<?php
// TODO: These are MySQL specific
$keywords = array(
'ABORT', 'ACTION', 'ADD', 'AFTER', 'ALL', 'ALTER', 'ANALYZE', 'AS',
'ASC', 'ATTACH', 'AUTOINCREMENT', 'AUTO_INCREMENT', 'BEFORE', 'BEGIN',
'BY', 'CASCADE', 'CAST', 'CHECK', 'COLLATE', 'COLUMN',
'COMMIT', 'CONFLICT', 'CONSTRAINT', 'CREATE', 'CROSS', 'CURRENT_DATE',
'CURRENT_TIME', 'CURRENT_TIMESTAMP','DATABASE', 'DEFAULT', 'DEFERRABLE',
'DEFERRED', 'DELETE', 'DESC', 'DETACH', 'DISTINCT', 'DROP', 'EACH', 'ELSE',
'END', 'ESCAPE', 'EXCEPT', 'EXCLUSIVE', 'EXISTS', 'EXPLAIN', 'FAIL', 'FOR',
'FOREIGN', 'FROM', 'FULL', 'GLOB', 'GROUP', 'HAVING', 'IF', 'IGNORE',
'IMMEDIATE', 'IN', 'INDEX', 'INDEXED', 'INITITIALLY', 'INNER', 'INSERT',
'INSTEAD', 'INTERSECT', 'INTO', 'ISNULL', 'JOIN', 'KEY', 'LEFT', 'LIKE',
'LIMIT', 'MATCH', 'NATURAL', 'NO', 'NOTNULL', 'OF', 'OFFSET',
'ON', 'OR', 'ORDER', 'OUTER', 'PLAN', 'PRAGMA', 'PRIMARY', 'QUERY', 'RAISE',
'REFERENCES', 'REGEXP', 'REINDEX', 'RELEASE', 'RENAME', 'REPLACE', 'RESTRICT',
'RIGHT', 'ROLLBACK', 'ROW', 'SAVEPOINT', 'SELECT', 'SET', 'TABLE', 'TEMP',
'TEMPORARY', 'THEN', 'TO', 'TRANSACTION', 'TRIGGER', 'UNION', 'UNIQUE',
'UPDATE', 'USING', 'VACUUM', 'VALUES', 'VIEW', 'VIRTUAL', 'WHEN', 'WHERE',
'WITH',
// type qualifier stuff
'SIGNED', 'UNSIGNED', 'ZEROFILL',
// seem to be missing these, probably not standard
'MINVALUE', 'MAXVALUE', 'START'
);
$types = array(
'BINARY', 'BIT', 'BIGINT', 'BIGINTEGER', 'BLOB',
'CHAR', 'CLOB',
'DATE', 'DATETIME', 'DEC', 'DECIMAL', 'DOUBLE', 'DOUBLE_PRECISION',
'ENUM',
'FIXED', 'FLOAT',
'INT', 'INTEGER',
'MEDIUMINT', 'MEDIUMINTEGER',
'NUMERIC',
'REAL',
'SMALLINT', 'SMALLINTEGER',
'SET', 'TEXT', 'TIME', 'TIMESTAMP', 'TINYINT',
'TINYINTEGER',
'VARBINARY', 'VARCHAR',
'YEAR',
'ZONE' // for time zone
);
$values = array('NULL');
// http://dev.mysql.com/doc/refman/5.0/en/func-op-summary-ref.html
$operators = array('AND', 'BETWEEN', 'BINARY', 'CASE', 'DIV', 'IS',
'LIKE', 'NOT', 'SOUNDS', 'XOR');
$functions = array(
'ABS',
'ACOS',
'ADDDATE',
'ADDTIME',
'AES_DECRYPT',
'AES_ENCRYPT',
'ASCII',
'ASIN',
'ATAN2',
'ATAN',
'AVG',
'BENCHMARK',
'BIN',
'BIT_AND',
'BIT_COUNT',
'BIT_LENGTH',
'BIT_OR',
'BIT_XOR',
'CAST',
'CEIL',
'CEILING',
'CHAR_LENGTH',
'CHAR',
'CHARACTER_LENGTH',
'CHARSET',
'COALESCE',
'COERCIBILITY',
'COLLATION',
'COMPRESS',
'CONCAT_WS',
'CONCAT',
'CONNECTION_ID',
'CONV',
'CONVERT_TZ',
'Convert',
'COS',
'COT',
'COUNT',
'COUNT',
'CRC32',
'CURDATE',
'CURRENT_DATE',
'CURRENT_TIME',
'CURRENT_TIMESTAMP',
'CURRENT_USER',
'CURTIME',
'DATABASE',
'DATE_ADD',
'DATE_FORMAT',
'DATE_SUB',
'DATE',
'DATEDIFF',
'DAY',
'DAYNAME',
'DAYOFMONTH',
'DAYOFWEEK',
'DAYOFYEAR',
'DECODE',
'DEFAULT',
'DEGREES',
'DES_DECRYPT',
'DES_ENCRYPT',
'ELT',
'ENCODE',
'ENCRYPT',
'EXP',
'EXPORT_SET',
'EXTRACT',
'FIELD',
'FIND_IN_SET',
'FLOOR',
'FORMAT',
'FOUND_ROWS',
'FROM_DAYS',
'FROM_UNIXTIME',
'GET_FORMAT',
'GET_LOCK',
'GREATEST',
'GROUP_CONCAT',
'HEX',
'HOUR',
'IF',
'IFNULL',
'IN',
'INET_ATON',
'INET_NTOA',
'INSERT',
'INSTR',
'INTERVAL',
'IS_FREE_LOCK',
'IS_USED_LOCK',
'ISNULL',
'LAST_DAY',
'LAST_INSERT_ID',
'LCASE',
'LEAST',
'LEFT',
'LENGTH',
'LN',
'LOAD_FILE',
'LOCALTIME',
'LOCALTIMESTAMP,',
'LOCATE',
'LOG10',
'LOG2',
'LOG',
'LOWER',
'LPAD',
'LTRIM',
'MAKE_SET',
'MAKEDATE',
'MAKETIME',
'MASTER_POS_WAIT',
'MATCH',
'MAX',
'MD5',
'MICROSECOND',
'MID',
'MIN',
'MINUTE',
'MOD',
'MONTH',
'MONTHNAME',
'NAME_CONST',
'NOW',
'NULLIF',
'OCT',
'OCTET_LENGTH',
'OLD_PASSWORD',
'ORD',
'PASSWORD',
'PERIOD_ADD',
'PERIOD_DIFF',
'PI',
'POSITION',
'POW',
'POWER',
'ANALYSE',
'QUARTER',
'QUOTE',
'RADIANS',
'RAND',
'REGEXP',
'RELEASE_LOCK',
'REPEAT',
'REPLACE',
'REVERSE',
'RIGHT',
'RLIKE',
'ROUND',
'ROW_COUNT',
'RPAD',
'RTRIM',
'SCHEMA',
'SEC_TO_TIME',
'SECOND',
'SESSION_USER',
'SHA1',
'SIGN',
'SIN',
'SLEEP',
'SOUNDEX',
'SPACE',
'SQRT',
'STD',
'STDDEV_POP',
'STDDEV_SAMP',
'STDDEV',
'STR_TO_DATE',
'STRCMP',
'SUBDATE',
'SUBSTR',
'SUBSTRING_INDEX',
'SUBSTRING',
'SUBTIME',
'SUM',
'SYSDATE',
'SYSTEM_USER',
'TAN',
'TIME_FORMAT',
'TIME_TO_SEC',
'TIME',
'TIMEDIFF',
'TIMESTAMP',
'TIMESTAMPADD',
'TIMESTAMPDIFF',
'TO_DAYS',
'TRIM',
'TRUNCATE',
'UCASE',
'UNCOMPRESS',
'UNCOMPRESSED_LENGTH',
'UNHEX',
'UNIX_TIMESTAMP',
'UPPER',
'USER',
'UTC_DATE',
'UTC_TIME',
'UTC_TIMESTAMP',
'UUID',
'VALUES',
'VAR_POP',
'VAR_SAMP',
'VARIANCE',
'VERSION',
'WEEK',
'WEEKDAY',
'WEEKOFYEAR',
'YEAR',
'YEARWEEK');

118
3rdparty/luminous/languages/include/vb.php vendored Executable file
View File

@ -0,0 +1,118 @@
<?php
$luminous_vb_values = array('False', 'Nothing', 'True');
// http://msdn.microsoft.com/en-us/library/asfcc119.aspx
$luminous_vb_operators = array('AddressOf', 'And', 'AndAlso', 'GetType',
'GetXmlNamespace', 'Is', 'IsFalse', 'IsNot', 'IsTrue', 'Mod', 'Not',
'Or', 'OrElse', 'TypeOf', 'Xor');
$luminous_vb_types = array('Boolean', 'Byte', 'CBool', 'Cbyte', 'CChar',
'CDate', 'CDbl', 'CDec', 'Char', 'CInt', 'CLng', 'CObj', 'CShort', 'CSng',
'CStr', 'CType', 'Date', 'Decimal', 'Double', 'Integer', 'Long', 'Object',
'Short', 'String');
$luminous_vb_keywords = array(
'AddHandler',
'Alias',
'Ansi',
'As',
'Assembly',
'Auto',
'ByRef',
'ByVal',
'Call',
'Case',
'Catch',
'Class',
'Const',
'Declare',
'Default',
'Delegate',
'Dim',
'DirectCast',
'Do',
'Each',
'Else',
'ElseIf',
'End',
'EndIf',
'Enum',
'Erase',
'Error',
'Event',
'Exit',
'Finally',
'For',
'Friend',
'Function',
'Get',
'GetType',
'GoSub',
'GoTo',
'Handles',
'If',
'Implements',
'Imports',
'In',
'Inherits',
'Interface',
'Let',
'Lib',
'Like',
'Loop',
'Me',
'Module',
'MustInherit',
'MustOverride',
'MyBase',
'MyClass',
'Namespace',
'New',
'Next',
'Nothing',
'NotInheritable',
'NotOverridable',
'On',
'Option',
'Optional',
'OrElse',
'Overloads',
'Overridable',
'Overrides',
'ParamArray',
'Preserve',
'Private',
'Property',
'Protected',
'Public',
'RaiseEvent',
'ReadOnly',
'ReDim',
'RemoveHandler',
'Resume',
'Return',
'Select',
'Set',
'Shadows',
'Shared',
'Single',
'Static',
'Step',
'Stop',
'Structure',
'Sub',
'SyncLock',
'Then',
'Throw',
'To',
'Try',
'Unicode',
'Until',
'Variant',
'Wend',
'When',
'While',
'With',
'WithEvents',
'WriteOnly'
);

View File

@ -0,0 +1,249 @@
<?php
global $luminous_vim_functions;
global $luminous_vim_keywords;
/*
* Credit for this list goes to `nelstrom' on github:
* https://github.com/nelstrom/SyntaxHighlighter/blob/master/scripts/shBrushVimscript.js
*/
$luminous_vim_functions = array( 'abs',
'add', 'append', 'argc', 'argidx', 'argv', 'atan', 'browse', 'browsedir',
'bufexists', 'buflisted', 'bufloaded', 'bufname', 'bufnr', 'bufwinnr',
'byte2line', 'byteidx', 'call', 'ceil', 'changenr', 'char2nr', 'cindent',
'clearmatches', 'col', 'complete', 'complete_add', 'complete_check', 'confirm',
'copy', 'cos', 'count', 'cscope_connection', 'cursor', 'deepcopy', 'delete',
'did_filetype', 'diff_filler', 'diff_hlID', 'empty', 'escape', 'eval',
'eventhandler', 'executable', 'exists', 'expand', 'expr8', 'extend', 'feedkeys',
'filereadable', 'filewritable', 'filter', 'finddir', 'findfile', 'float2nr',
'floor', 'fnameescape', 'fnamemodify', 'foldclosed', 'foldclosedend',
'foldlevel', 'foldtext', 'foldtextresult', 'foreground', 'function',
'garbagecollect', 'get', 'getbufline', 'getbufvar', 'getchar', 'getcharmod',
'getcmdline', 'getcmdpos', 'getcmdtype', 'getcwd', 'getfontname', 'getfperm',
'getfsize', 'getftime', 'getftype', 'getline', 'getloclist', 'getmatches',
'getpid', 'getpos', 'getqflist', 'getreg', 'getregtype', 'gettabwinvar',
'getwinposx', 'getwinposy', 'getwinvar', 'glob', 'globpath', 'has', 'has_key',
'haslocaldir', 'hasmapto', 'histadd', 'histdel', 'histget', 'histnr', 'hlID',
'hlexists', 'hostname', 'iconv', 'indent', 'index', 'input', 'inputdialog',
'inputlist', 'inputrestore', 'inputsave', 'inputsecret', 'insert',
'isdirectory', 'islocked', 'items', 'join', 'keys', 'len', 'libcall',
'libcallnr', 'line', 'line2byte', 'lispindent', 'localtime', 'log10', 'map',
'maparg', 'mapcheck', 'match', 'matchadd', 'matcharg', 'matchdelete',
'matchend', 'matchlist', 'matchstr', 'max', 'min', 'mkdir', 'mode',
'nextnonblank', 'nr2char', 'pathshorten', 'pow', 'prevnonblank', 'printf',
'pumvisible', 'range', 'readfile', 'reltime', 'reltimestr', 'remote_expr',
'remote_foreground', 'remote_peek', 'remote_read', 'remote_send', 'remove',
'rename', 'repeat', 'resolve', 'reverse', 'round', 'search', 'searchdecl',
'searchpair', 'searchpairpos', 'searchpos', 'server2client', 'serverlist',
'setbufvar', 'setcmdpos', 'setline', 'setloclist', 'setmatches', 'setpos',
'setqflist', 'setreg', 'settabwinvar', 'setwinvar', 'shellescape', 'simplify',
'sin', 'sort', 'soundfold', 'spellbadword', 'spellsuggest', 'split', 'sqrt',
'str2float', 'str2nr', 'strftime', 'stridx', 'string', 'strlen', 'strpart',
'strridx', 'strtrans', 'submatch', 'substitute', 'synID', 'synIDattr',
'synIDtrans', 'synstack', 'system', 'tabpagebuflist', 'tabpagenr',
'tabpagewinnr', 'tagfiles', 'taglist', 'tempname', 'tolower', 'toupper', 'tr',
'trunc', 'type', 'values', 'virtcol', 'visualmode', 'winbufnr', 'wincol',
'winheight', 'winline', 'winnr', 'winrestcmd', 'winrestview', 'winsaveview',
'winwidth', 'writefile');
$luminous_vim_keywords = array(
'Next',
'Print',
'XMLent', 'XMLns',
'abc', 'abclear', 'abo', 'aboveleft', 'acd', 'ai', 'akm', 'al', 'aleph',
'all',
'allowrevins',
'altkeymap', 'ambiwidth', 'ambw', 'anti', 'antialias', 'ar', 'arab', 'arabic',
'arabicshape', 'arabshape', 'argadd',
'arga', 'argdelete', 'argdo', 'arge', 'argedit', 'argg', 'argglobal',
'arglargs', 'arglocal', 'argument', 'ari', 'arshape', 'as', 'ascii', 'au',
'augroup', 'auto', 'autochdir', 'autocmd', 'autoindent', 'autoread',
'autowrite', 'autowriteall', 'aw', 'awa',
'bN', 'bNext', 'ba', 'background', 'backspace', 'backup', 'backupcopy',
'backupdir', 'backupext', 'backupskip', 'bad', 'badd', 'ball', 'balloondelay',
'ballooneval', 'balloonexpr', 'bd', 'bdelete', 'bdir', 'bdlay', 'bel',
'belowright', 'beval', 'bex', 'bexpr', 'bf', 'bfirst', 'bg', 'bh', 'bin',
'binary', 'biosk', 'bioskey', 'bk', 'bkc', 'bl', 'blast', 'bm', 'bmodified',
'bn', 'bnext', 'bo', 'bomb', 'botright', 'bp', 'bprevious', 'br', 'brea',
'break', 'breaka', 'breakadd', 'breakat', 'breakd', 'breakdel', 'breakl',
'breaklist', 'brewind', 'brk', 'bro', 'browse', 'browsedir', 'bs', 'bsdir',
'bsk', 'bt', 'bufdo', 'buffer', 'buffers', 'bufhidden', 'buflisted', 'buftype',
'bun', 'bunload', 'bw', 'bwipeout',
'cN', 'cNext', 'cNf', 'cNfile', 'cabc', 'cabclear', 'cad', 'caddb',
'caddbuffer', 'caddexpr', 'caddf', 'caddfile', 'cal', 'call', 'casemap', 'cat',
'catch', 'cb', 'cbuffer', 'cc', 'ccl', 'cclose', 'ccv', 'cd', 'cdpath', 'ce',
'cedit', 'center', 'cex', 'cexpr', 'cf', 'cfile', 'cfir', 'cfirst', 'cfu', 'cg',
'cgetb', 'cgetbuffer', 'cgete', 'cgetexpr', 'cgetfile', 'ch', 'change',
'changes', 'charconvert', 'chd', 'chdir', 'che', 'checkpath', 'checkt',
'checktime', 'ci', 'cin', 'cindent', 'cink', 'cinkeys', 'cino', 'cinoptions',
'cinw', 'cinwords', 'cl', 'cla', 'clast', 'clipboard', 'clist', 'clo', 'close',
'cm', 'cmap', 'cmapc', 'cmapclear', 'cmdheight', 'cmdwinheight', 'cmp', 'cms',
'cn', 'cnew', 'cnewer', 'cnext', 'cnf', 'cnfile', 'cno', 'cnoremap', 'co',
'col', 'colder', 'colo', 'colorscheme', 'columns', 'com', 'comc', 'comclear',
'command', 'comments', 'commentstring', 'comp', 'compatible', 'compiler',
'complete', 'completefunc', 'completeopt', 'con', 'conf', 'confirm', 'consk',
'conskey', 'continue', 'cope', 'copen', 'copy', 'copyindent', 'cot', 'cp',
'cpf', 'cpfile', 'cpo', 'cpoptions', 'cprevious', 'cpt', 'cq', 'cquit', 'cr',
'crewind', 'cscopepathcomp', 'cscopeprg', 'cscopequickfix', 'cscopetag',
'cscopetagorder', 'cscopeverbose', 'cspc', 'csprg', 'csqf', 'cst', 'csto',
'csverb', 'cuc', 'cul', 'cuna', 'cunabbrev', 'cursorcolumn', 'cursorline', 'cw',
'cwh', 'cwindow',
'debug', 'debugg', 'debuggreedy', 'deco', 'def', 'define', 'delc', 'delcombine',
'delcommand', 'delete', 'delf', 'delfunction', 'delm', 'delmarks', 'dex', 'dg',
'di', 'dict', 'dictionary', 'diff', 'diffexpr', 'diffg', 'diffget', 'diffoff',
'diffopt', 'diffpatch', 'diffpu', 'diffput', 'diffsplit', 'diffthis', 'diffu',
'diffupdate', 'dig', 'digraph', 'digraphs', 'dip', 'dir', 'directory',
'display', 'dj', 'djump', 'dl', 'dlist', 'do', 'doautoa', 'doautoall',
'doautocmd', 'dr', 'drop', 'ds', 'dsearch', 'dsp', 'dsplit', 'dy',
'ea', 'ead', 'eadirection', 'earlier', 'eb', 'echoe', 'echoerr', 'echohl',
'echom', 'echomsg', 'echon', 'ed', 'edcompatible', 'edit', 'ef', 'efm', 'ei',
'ek', 'el', 'else', 'elsei', 'elseif', 'em', 'emenu', 'en', 'enc', 'encoding',
'endf', 'endfo', 'endfor', 'endfunction', 'endif', 'endofline', 'endt',
'endtry', 'endw', 'endwhile', 'ene', 'enew', 'environment', 'eol', 'ep',
'equalalways', 'equalprg', 'errorbells', 'errorfile', 'errorformat', 'esckeys',
'et', 'event', 'eventignore', 'ex', 'exi', 'exit', 'expandtab', 'expression',
'exrc', 'exu', 'exusage',
'fcl', 'fcs', 'fdc', 'fde', 'fdi', 'fdl', 'fdls', 'fdm', 'fdn', 'fdo', 'fdt',
'fen', 'fenc', 'fencs', 'fex', 'ff', 'ffs', 'file', 'fileencoding',
'fileencodings', 'fileformat', 'fileformats', 'files', 'filetype', 'fillchars',
'fin', 'fina', 'finally', 'find', 'fini', 'finish', 'fir', 'first', 'fix',
'fixdel', 'fk', 'fkmap', 'flp', 'fml', 'fmr', 'fo', 'fold', 'foldc',
'foldclose', 'foldcolumn', 'foldd', 'folddoc', 'folddoclosed', 'folddoopen',
'foldenable', 'foldexpr', 'foldignore', 'foldlevel', 'foldlevelstart',
'foldmarker', 'foldmethod', 'foldminlines', 'foldnestmax', 'foldo', 'foldopen',
'foldtext', 'for', 'formatexpr', 'formatlistpat', 'formatoptions', 'formatprg',
'fp', 'fs', 'fsync', 'ft', 'fu', 'function',
'gcr', 'gd', 'gdefault', 'gfm', 'gfn', 'gfs', 'gfw', 'ghr', 'go', 'goto', 'gp',
'gr', 'grep', 'grepa', 'grepadd', 'grepformat', 'grepprg', 'gtl', 'gtt',
'guicursor', 'guifont', 'guifontset', 'guifontwide', 'guiheadroom',
'guioptions', 'guipty', 'guitablabel', 'guitabtooltip',
'ha', 'hardcopy', 'help', 'helpf', 'helpfile', 'helpfind', 'helpg', 'helpgrep',
'helpheight', 'helplang', 'helpt', 'helptags', 'hf', 'hh', 'hi', 'hid',
'hidden', 'hide', 'highlight', 'his', 'history', 'hk', 'hkmap', 'hkmapp', 'hkp',
'hl', 'hlg', 'hls', 'hlsearch',
'iabc', 'iabclear', 'ic', 'icon', 'iconstring', 'if', 'ignorecase', 'ij',
'ijump', 'il', 'ilist', 'im', 'imactivatekey', 'imak', 'imap', 'imapc',
'imapclear', 'imc', 'imcmdline', 'imd', 'imdisable', 'imi', 'iminsert', 'ims',
'imsearch', 'inc', 'include', 'includeexpr', 'incsearch', 'inde', 'indentexpr',
'indentkeys', 'indk', 'inex', 'inf', 'infercase', 'ino', 'inoremap',
'insertmode', 'is', 'isearch', 'isf', 'isfname', 'isi', 'isident', 'isk',
'iskeyword', 'isp', 'isplit', 'isprint', 'iuna', 'iunabbrev',
'join', 'joinspaces', 'js', 'ju', 'jumps',
'kee', 'keepalt', 'keepj', 'keepjumps', 'keepmarks', 'key', 'keymap',
'keymodel', 'keywordprg', 'km', 'kmp', 'kp',
'lN', 'lNext', 'lNf', 'lNfile', 'la', 'lad', 'laddb', 'laddbuffer', 'laddexpr',
'laddf', 'laddfile', 'lan', 'langmap', 'langmenu', 'language', 'last',
'laststatus', 'later', 'lazyredraw', 'lb', 'lbr', 'lbuffer', 'lc', 'lcd', 'lch',
'lchdir', 'lcl', 'lclose', 'lcs', 'le', 'left', 'lefta', 'leftabove', 'let',
'lex', 'lexpr', 'lf', 'lfile', 'lfir', 'lfirst', 'lg', 'lgetb', 'lgetbuffer',
'lgete', 'lgetexpr', 'lgetfile', 'lgr', 'lgrep', 'lgrepa', 'lgrepadd', 'lh',
'lhelpgrep', 'linebreak', 'lines', 'linespace', 'lisp', 'lispwords', 'list',
'listchars', 'll', 'lla', 'llast', 'lli', 'llist', 'lm', 'lmak', 'lmake',
'lmap', 'lmapc', 'lmapclear', 'ln', 'lne', 'lnew', 'lnewer', 'lnext', 'lnf',
'lnfile', 'lnoremap', 'lo', 'loadplugins', 'loadview', 'loc', 'lockmarks',
'lockv', 'lockvar', 'lol', 'lolder', 'lop', 'lopen', 'lp', 'lpf', 'lpfile',
'lpl', 'lprevious', 'lr', 'lrewind', 'ls', 'lsp', 'ltag', 'lv', 'lvimgrep',
'lvimgrepa', 'lvimgrepadd', 'lw', 'lwindow', 'lz',
'ma', 'maca', 'macaction', 'macatsui', 'macm', 'macmenu', 'magic', 'mak',
'make', 'makeef', 'makeprg', 'map', 'mapping', 'mark', 'marks', 'mat', 'match',
'matchpairs', 'matchtime', 'maxcombine', 'maxfuncdepth', 'maxmapdepth',
'maxmem', 'maxmempattern', 'maxmemtot', 'mco', 'mef', 'menu', 'menuitems',
'menut', 'menutranslate', 'mfd', 'mh', 'mis', 'mk', 'mkexrc', 'mks',
'mksession', 'mksp', 'mkspell', 'mkspellmem', 'mkv', 'mkvie', 'mkview',
'mkvimrc', 'ml', 'mls', 'mm', 'mmd', 'mmp', 'mmt', 'mod', 'mode', 'modeline',
'modelines', 'modifiable', 'modified', 'more', 'mouse', 'mousef', 'mousefocus',
'mousehide', 'mousem', 'mousemodel', 'mouses', 'mouseshape', 'mouset',
'mousetime', 'move', 'mp', 'mps', 'msm', 'mz', 'mzf', 'mzfile', 'mzq',
'mzquantum', 'mzscheme',
'nbkey', 'new', 'next', 'nf', 'nm', 'nmap', 'nmapc', 'nmapclear', 'nn',
'nnoremap', 'no', 'noexpandtab', 'noh', 'nohlsearch', 'noremap', 'nrformats',
'nu', 'number', 'numberwidth', 'nuw',
'odev', 'oft', 'ofu', 'om', 'omap', 'omapc', 'omapclear', 'omnifunc', 'on',
'only', 'ono', 'onoremap', 'open', 'opendevice', 'operatorfunc', 'opfunc',
'opt', 'option', 'options', 'osfiletype',
'pa', 'para', 'paragraphs', 'paste', 'pastetoggle', 'patchexpr', 'patchmode',
'path', 'pc', 'pclose', 'pdev', 'pe', 'ped', 'pedit', 'penc', 'perl', 'perld',
'perldo', 'pex', 'pexpr', 'pfn', 'ph', 'pheader', 'pi', 'pm', 'pmbcs', 'pmbfn',
'po', 'pop', 'popt', 'popu', 'popup', 'pp', 'ppop', 'pre', 'preserve',
'preserveindent', 'prev', 'previewheight', 'previewwindow', 'previous', 'print',
'printdevice', 'printencoding', 'printexpr', 'printfont', 'printheader',
'printmbcharset', 'printmbfont', 'printoptions', 'prof', 'profd', 'profdel',
'profile', 'prompt', 'promptf', 'promptfind', 'promptr', 'promptrepl', 'ps',
'psearch', 'pt', 'ptN', 'ptNext', 'pta', 'ptag', 'ptf', 'ptfirst', 'ptj',
'ptjump', 'ptl', 'ptlast', 'ptn', 'ptnext', 'ptp', 'ptprevious', 'ptr',
'ptrewind', 'pts', 'ptselect', 'pu', 'pumheight', 'put', 'pvh', 'pvw', 'pw',
'pwd', 'py', 'pyf', 'pyfile', 'python',
'qa', 'qall', 'qe', 'quit', 'quita', 'quitall', 'quoteescape',
'rdt', 'read', 'readonly', 'rec', 'recover', 'red', 'redi', 'redir', 'redo',
'redr', 'redraw', 'redraws', 'redrawstatus', 'redrawtime', 'reg', 'registers',
'remap', 'report', 'res', 'resize', 'restorescreen', 'ret', 'retab', 'retu',
'return', 'revins', 'rew', 'rewind', 'ri', 'right', 'rightb', 'rightbelow',
'rightleft', 'rightleftcmd', 'rl', 'rlc', 'ro', 'rs', 'rtp', 'ru', 'rub',
'ruby', 'rubyd', 'rubydo', 'rubyf', 'rubyfile', 'ruf', 'ruler', 'rulerformat',
'runtime', 'runtimepath', 'rv', 'rviminfo',
'sN', 'sNext', 'sa', 'sal', 'sall', 'san', 'sandbox', 'sargument', 'sav',
'saveas', 'sb', 'sbN', 'sbNext', 'sba', 'sball', 'sbf', 'sbfirst', 'sbl',
'sblast', 'sbm', 'sbmodified', 'sbn', 'sbnext', 'sbo', 'sbp', 'sbprevious',
'sbr', 'sbrewind', 'sbuffer', 'sc', 'scb', 'scr', 'scrip', 'scripte',
'scriptencoding', 'scriptnames', 'scroll', 'scrollbind', 'scrolljump',
'scrolloff', 'scrollopt', 'scs', 'se', 'sect', 'sections', 'secure', 'sel',
'selection', 'selectmode', 'sessionoptions', 'set', 'setf', 'setfiletype',
'setg', 'setglobal', 'setl', 'setlocal', 'sf', 'sfind', 'sfir', 'sfirst', 'sft',
'sh', 'shcf', 'shell', 'shellcmdflag', 'shellpipe', 'shellquote', 'shellredir',
'shellslash', 'shelltemp', 'shelltype', 'shellxquote', 'shiftround',
'shiftwidth', 'shm', 'shortmess', 'shortname', 'showbreak', 'showcmd',
'showfulltag', 'showmatch', 'showmode', 'showtabline', 'shq', 'si',
'sidescroll', 'sidescrolloff', 'sign', 'sil', 'silent', 'sim', 'simalt', 'siso',
'sj', 'sl', 'sla', 'slast', 'sleep', 'slm', 'sm', 'smagic', 'smap', 'smapc',
'smapclear', 'smartcase', 'smartindent', 'smarttab', 'smc', 'smd', 'sme',
'smenu', 'sn', 'snext', 'sni', 'sniff', 'sno', 'snomagic', 'snor', 'snoremap',
'snoreme', 'snoremenu', 'so', 'softtabstop', 'sol', 'something', 'sor', 'sort',
'source', 'sp', 'spc', 'spe', 'spell', 'spellcapcheck', 'spelld', 'spelldump',
'spellfile', 'spellgood', 'spelli', 'spellinfo', 'spelllang', 'spellr',
'spellrepall', 'spellsuggest', 'spellu', 'spellundo', 'spellw', 'spellwrong',
'spf', 'spl', 'split', 'splitbelow', 'splitright', 'spr', 'sprevious', 'sps',
'sr', 'sre', 'srewind', 'srr', 'ss', 'ssl', 'ssop', 'st', 'sta', 'stag', 'stal',
'star', 'startg', 'startgreplace', 'startinsert', 'startofline', 'startr',
'startreplace', 'statusline', 'stj', 'stjump', 'stl', 'stmp', 'stop', 'stopi',
'stopinsert', 'sts', 'stselect', 'su', 'sua', 'suffixes', 'suffixesadd', 'sun',
'sunhide', 'sunme', 'sunmenu', 'sus', 'suspend', 'sv', 'sview', 'sw',
'swapfile', 'swapsync', 'swb', 'swf', 'switchbuf', 'sws', 'sxq', 'syn',
'syncbind', 'synmaxcol', 'syntax',
'tN', 'tNext', 'ta', 'tab', 'tabN', 'tabNext', 'tabc', 'tabclose', 'tabd',
'tabdo', 'tabe', 'tabedit', 'tabf', 'tabfind', 'tabfir', 'tabfirst', 'tabl',
'tablast', 'tabline', 'tabm', 'tabmove', 'tabn', 'tabnew', 'tabnext', 'tabo',
'tabonly', 'tabp', 'tabpagemax', 'tabprevious', 'tabr', 'tabrewind', 'tabs',
'tabstop', 'tag', 'tag_listfiles', 'tagbsearch', 'taglength', 'tagrelative',
'tags', 'tagstack', 'tal', 'tb', 'tbi', 'tbidi', 'tbis', 'tbs', 'tc', 'tcl',
'tcld', 'tcldo', 'tclf', 'tclfile', 'te', 'tearoff', 'tenc', 'term', 'termbidi',
'termencoding', 'terse', 'textauto', 'textmode', 'textwidth', 'tf', 'tfirst',
'tgst', 'th', 'thesaurus', 'throw', 'tildeop', 'timeout', 'timeoutlen', 'title',
'titlelen', 'titleold', 'titlestring', 'tj', 'tjump', 'tl', 'tlast', 'tm',
'tmenu', 'tn', 'tnext', 'to', 'toolbar', 'toolbariconsize', 'top', 'topleft',
'tp', 'tpm', 'tprevious', 'tr', 'trewind', 'try', 'ts', 'tselect', 'tsl', 'tsr',
'ttimeout', 'ttimeoutlen', 'ttm', 'tty', 'ttybuiltin', 'ttyfast', 'ttym',
'ttymouse', 'ttyscroll', 'ttytype', 'tu', 'tunmenu', 'tw', 'tx',
'uc', 'ul', 'una', 'unabbreviate', 'undo', 'undoj', 'undojoin', 'undol',
'undolevels', 'undolist', 'unh', 'unhide', 'unl', 'unlet', 'unlo', 'unlockvar',
'up', 'update', 'updatecount', 'updatetime', 'ut',
'var', 'vb', 'vbs', 'vdir', 've', 'verb', 'verbose', 'verbosefile', 'version',
'vert', 'vertical', 'vfile', 'vi', 'vie', 'view', 'viewdir', 'viewoptions',
'vim', 'vimgrep', 'vimgrepa', 'vimgrepadd', 'viminfo', 'virtualedit', 'visual',
'visualbell', 'viu', 'viusage', 'vm', 'vmap', 'vmapc', 'vmapclear', 'vn', 'vne',
'vnew', 'vnoremap', 'vop', 'vs', 'vsplit',
'wN', 'wNext', 'wa', 'wak', 'wall', 'warn', 'wb', 'wc', 'wcm', 'wd',
'weirdinvert', 'wfh', 'wfw', 'wh', 'whichwrap', 'while', 'wi', 'wig',
'wildchar', 'wildcharm', 'wildignore', 'wildmenu', 'wildmode', 'wildoptions',
'wim', 'win', 'winaltkeys', 'winc', 'wincmd', 'windo', 'window', 'winfixheight',
'winfixwidth', 'winheight', 'winminheight', 'winminwidth', 'winp', 'winpos',
'winsize', 'winwidth', 'wiv', 'wiw', 'wm', 'wmh', 'wmnu', 'wmw', 'wn', 'wnext',
'wop', 'wp', 'wprevious', 'wq', 'wqa', 'wqall', 'wrap', 'wrapmargin',
'wrapscan', 'write', 'writeany', 'writebackup', 'writedelay', 'ws', 'wsverb',
'wv', 'wviminfo', 'ww',
'xa', 'xall', 'xit', 'xm', 'xmap', 'xmapc', 'xmapclear', 'xmenu',
'xn', 'xnremap', 'xnoreme', 'xnoremenu', 'xunme', 'xunmenu',
'yank'
);