-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path0060 - delphi.vim.json
More file actions
27 lines (27 loc) · 1.87 KB
/
0060 - delphi.vim.json
File metadata and controls
27 lines (27 loc) · 1.87 KB
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
{
"script_id": "60",
"display_name": "delphi.vim",
"summary": "Syntax file for Borlands Delphi/Kylix",
"name": "delphi.vim",
"script_type": "syntax",
"description": "This syntax file for Borlands ObjectPascal (Delphi,Kylix) is derived from the original pascal.vim.\nSome basic VCL-Classes are added and some keywords have new meanings (e.g. read/write, assign).\nIt also includes a different color scheme.\n",
"install_details": "1. Copy the file to $VIM/sytax.\n2. Add to $VIM/filetype.vim :\nCUT FROM HERE-->\n\" Pascal / Delphi\nif (1==1)\t\"change to \"1==0\" to use original syntax\n au BufNewFile,BufRead *.pas,*.PAS\t\tset ft=delphi\nelse\n au BufNewFile,BufRead *.pas,*.PAS\t\tset ft=pascal\nendif\n\" Delphi project file\nau BufNewFile,BufRead *.dpr,*.DPR\t\tset ft=delphi\n\" Delphi form file\nau BufNewFile,BufRead *.dfm,*.DFM\t\tset ft=delphi\nau BufNewFile,BufRead *.xfm,*.XFM\t\tset ft=delphi\n\" Delphi package file\nau BufNewFile,BufRead *.dpk,*.DPK\t\tset ft=delphi\n\" Delphi .DOF file = INI file for MSDOS\nau BufNewFile,BufRead *.dof,*.DOF\t\tset ft=dosini\nau BufNewFile,BufRead *.kof,*.KOF\t\tset ft=dosini\nau BufNewFile,BufRead *.dsk,*.DSK\t\tset ft=dosini\nau BufNewFile,BufRead *.desk,*.DESK\t\tset ft=dosini\nau BufNewFile,BufRead *.dti,*.DTI\t\tset ft=dosini\n\" Delphi .BPG = Makefile\nau BufNewFile,BufRead *.bpg,*.BPG\t\tset ft=make|setlocal makeprg=make\\ -f\\ %\n<--CUT UNTIL HERE\n",
"versions": [
{
"url": "http://www.vim.org/scripts/download_script.php?src_id=100",
"filename": "delphi.vim",
"script_version": "1.1",
"date": "2001-08-12",
"vim_version": "6.0",
"author": {
"user_id": "143",
"user_name": "netztorte",
"first_name": "Thorsten",
"last_name": "Maerz",
"email": "info@netztorte.de",
"homepage": ""
},
"release_notes": "Initial upload"
}
]
}