forked from diniremix/sublime-pascal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pascalL.sublime-completions
52 lines (45 loc) · 2.13 KB
/
pascalL.sublime-completions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"scope": "source.pascal",
"completions":
[
"pascal",
{ "trigger": "clrscr", "contents": "clrscr;" },
{ "trigger": "crt", "contents": "crt" },
{ "trigger": "keypressed", "contents": "keypressed;" },
{ "trigger": "read", "contents": "read($1);" },
{ "trigger": "readkey", "contents": "readkey;" },
{ "trigger": "readln", "contents": "readln($1);" },
{ "trigger": "write", "contents": "write('$1');" },
{ "trigger": "writeln", "contents": "writeln('$1');" },
{ "trigger": "uses", "contents": "uses" },
{ "trigger": "inc", "contents": "inc($1);" },
{ "trigger": "forward", "contents": "forward;" },
{ "trigger": "external", "contents": "external;" },
{ "trigger": "Shortint", "contents": "Shortint" },
{ "trigger": "Integer", "contents": "Integer" },
{ "trigger": "Longint", "contents": "Longint" },
{ "trigger": "Byte", "contents": "Byte" },
{ "trigger": "Word", "contents": "Word" },
{ "trigger": "Boolean", "contents": "Boolean" },
{ "trigger": "WordBool", "contents": "WordBool" },
{ "trigger": "LongBool", "contents": "LongBool" },
{ "trigger": "ByteBool", "contents": "ByteBool" },
{ "trigger": "Real", "contents": "Real" },
{ "trigger": "Single", "contents": "Single" },
{ "trigger": "Double", "contents": "Double" },
{ "trigger": "Extended", "contents": "Extended" },
{ "trigger": "Comp", "contents": "comp" },
{ "trigger": "String", "contents": "String" },
{ "trigger": "Char", "contents": "Char" },
{ "trigger": "const", "contents": "const" },
{ "trigger": "array", "contents": "array[$1..$2] of" },
{ "trigger": "procedure", "contents": "procedure $1;\nbegin\n\t${2}\nend;" },
{ "trigger": "function", "contents": "function $1($2):$3\nbegin\n\t${1}:=\nend;" },
{ "trigger": "Length", "contents": "Length($1)" },
{ "trigger": "Upcase", "contents": "Upcase($1)" },
{ "trigger": "with", "contents": "with ($1) do\nbegin\n\t${2}\nend;" },
{ "trigger": "gotoxy", "contents": "gotoxy($1,$2);" },
{ "trigger": "textcolor", "contents": "textcolor($1);" },
{ "trigger": "textbackground", "contents": "textbackground($1);" }
]
}