impr(language): add more keywords and chars to code_pascal (@fau) (#6341)

### Description

Added more keywords from Delphi and Free Pascal and special chars used
in pascal code.
This commit is contained in:
fau 2025-03-17 14:13:06 +03:00 committed by GitHub
parent f84f8508ca
commit ee665c200b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,34 +2,156 @@
"name": "code_pascal",
"noLazyMode": true,
"words": [
"-",
",",
";",
":",
":=",
".",
"'",
"(",
"(*",
")",
"[",
"]",
"{",
"{$",
"}",
"@",
"*",
"*)",
"/",
"//",
"&",
"#",
"%",
"^",
"+",
"<",
"<=",
"<>",
"=",
">",
">=",
"absolute",
"abstract",
"alias",
"and",
"array",
"as",
"asm",
"automated",
"begin",
"boolean",
"break",
"byte",
"cardinal",
"case",
"cdecl",
"class",
"const",
"constref",
"constructor",
"continue",
"cppdecl",
"create",
"default",
"destroy",
"destructor",
"dispinterface",
"dispose",
"div",
"do",
"double",
"downto",
"else",
"end",
"except",
"exit",
"export",
"exports",
"extended",
"external",
"false",
"file",
"finalization",
"finally",
"forward",
"free",
"function",
"generic",
"goto",
"if",
"implementation",
"in",
"inc",
"index",
"inherited",
"initialization",
"inline",
"integer",
"interface",
"is",
"label",
"library",
"local",
"longint",
"longword",
"main",
"mod",
"name",
"nil",
"not",
"object",
"of",
"operator",
"or",
"out",
"overload",
"override",
"packed",
"pascal",
"private",
"procedure",
"program",
"property",
"public",
"published",
"raise",
"read",
"readln",
"real",
"record",
"register",
"reintroduce",
"repeat",
"resourcestring",
"result",
"safecall",
"self",
"set",
"shl",
"shortint",
"shr",
"single",
"smallint",
"stdcall",
"string",
"then",
"threadvar",
"true",
"try",
"type",
"unit",
"until",
"uses",
"var",
"virtual",
"while",
"with",
"word",
"write",
"writeln",
"xor"
]
}