From 8baab3c8d7a6f22888bd581cd5c6098fd2e4b5a8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:44:24 +0200 Subject: Adding upstream version 2:8.1.0875. Signed-off-by: Daniel Baumann --- runtime/syntax/foxpro.vim | 716 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 716 insertions(+) create mode 100644 runtime/syntax/foxpro.vim (limited to 'runtime/syntax/foxpro.vim') diff --git a/runtime/syntax/foxpro.vim b/runtime/syntax/foxpro.vim new file mode 100644 index 0000000..795859e --- /dev/null +++ b/runtime/syntax/foxpro.vim @@ -0,0 +1,716 @@ +" Vim syntax file +" Filename: foxpro.vim +" Version: 1.0 +" Language: FoxPro for DOS/UNIX v2.6 +" Maintainer: Bill W. Smith, Jr. +" Last Change: 15 May 2006 + +" This file replaces the FoxPro for DOS v2.x syntax file +" maintained by Powing Tse +" +" Change Log: added support for FoxPro Codebook highlighting +" corrected highlighting of comments that do NOT start in col 1 +" corrected highlighting of comments at end of line (&&) +" +" +" quit when a syntax file was already loaded +if exists("b:current_syntax") + finish +endif + +" FoxPro Codebook Naming Conventions +syn match foxproCBConst "\<[c][A-Z][A-Za-z0-9_]*\>" +syn match foxproCBVar "\<[lgrt][acndlmf][A-Z][A-Za-z0-9_]*\>" +syn match foxproCBField "\<[a-z0-9]*\.[A-Za-z0-9_]*\>" +" PROPER CodeBook field names start with the data type and do NOT have _ +syn match foxproCBField "\<[A-Za-z0-9]*\.[acndlm][A-Z][A-Za-z0-9]*\>" +syn match foxproCBWin "\" +" CodeBook 2.0 defined objects as follows +" This uses the hotkey from the screen builder as the second character +syn match foxproCBObject "\<[lgr][bfthnkoli][A-Z][A-Za-z0-9_]*\>" +" A later version added the following conventions for objects +syn match foxproCBObject "\" +syn match foxproCBObject "\" +syn match foxproCBObject "\" +syn match foxproCBObject "\" +syn match foxproCBObject "\" +syn match foxproCBObject "\" +syn match foxproCBObject "\" +syn match foxproCBObject "\" +syn match foxproCBObject "\" +syn match foxproCBObject "\" + +syntax case ignore + +" Highlight special characters +syn match foxproSpecial "^\s*!" +syn match foxproSpecial "&" +syn match foxproSpecial ";\s*$" +syn match foxproSpecial "^\s*=" +syn match foxproSpecial "^\s*\\" +syn match foxproSpecial "^\s*\\\\" +syn match foxproSpecial "^\s*?" +syn match foxproSpecial "^\s*??" +syn match foxproSpecial "^\s*???" +syn match foxproSpecial "\\." + +" @ Statements +syn match foxproAtSymbol contained "^\s*@" +syn match foxproAtCmd contained "\\|\\|\\|\\|\\|\\|\\|\\|\\|\" +syn match foxproAtStart transparent "^\s*@.*" contains=ALL + +" preprocessor directives +syn match foxproPreProc "^\s*#\s*\(\\|\\|\\|\\)" +syn match foxproPreProc "^\s*#\s*\(\\|\\)" +syn match foxproPreProc "^\s*#\s*\" + +" Functions +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 +syn match foxproFunc "\\s*("me=e-1 + +" Commands +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\<=\>" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\/n" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\" +syn match foxproCmd "^\s*\\s*\" + +" Enclosed Block +syn match foxproEnBlk "^\s*\\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" +syn match foxproEnBlk "^\s*\" + +" System Variables +syn keyword foxproSysVar _alignment _assist _beautify _box _calcmem _calcvalue +syn keyword foxproSysVar _cliptext _curobj _dblclick _diarydate _dos _foxdoc +syn keyword foxproSysVar _foxgraph _gengraph _genmenu _genpd _genscrn _genxtab +syn keyword foxproSysVar _indent _lmargin _mac _mline _padvance _pageno _pbpage +syn keyword foxproSysVar _pcolno _pcopies _pdriver _pdsetup _pecode _peject _pepage +syn keyword foxproSysVar _plength _plineno _ploffset _ppitch _pquality _pretext +syn keyword foxproSysVar _pscode _pspacing _pwait _rmargin _shell _spellchk +syn keyword foxproSysVar _startup _tabs _tally _text _throttle _transport _unix +syn keyword foxproSysVar _windows _wrap + +" Strings +syn region foxproString start=+"+ end=+"+ oneline +syn region foxproString start=+'+ end=+'+ oneline +syn region foxproString start=+\[+ end=+\]+ oneline + +" Constants +syn match foxproConst "\.t\." +syn match foxproConst "\.f\." + +"integer number, or floating point number without a dot and with "f". +syn match foxproNumber "\<[0-9]\+\>" +"floating point number, with dot, optional exponent +syn match foxproFloat "\<[0-9]\+\.[0-9]*\(e[-+]\=[0-9]\+\)\=\>" +"floating point number, starting with a dot, optional exponent +syn match foxproFloat "\.[0-9]\+\(e[-+]\=[0-9]\+\)\=\>" +"floating point number, without dot, with exponent +syn match foxproFloat "\<[0-9]\+e[-+]\=[0-9]\+\>" + +syn match foxproComment "^\s*\*.*" +syn match foxproComment "&&.*" + +"catch errors caused by wrong parenthesis +syn region foxproParen transparent start='(' end=')' contains=ALLBUT,foxproParenErr +syn match foxproParenErr ")" + +syn sync minlines=1 maxlines=3 + +" Define the default highlighting. +" Only when an item doesn't have highlighting yet + +hi def link foxproSpecial Special +hi def link foxproAtSymbol Special +hi def link foxproAtCmd Statement +hi def link foxproPreProc PreProc +hi def link foxproFunc Identifier +hi def link foxproCmd Statement +hi def link foxproEnBlk Type +hi def link foxproSysVar String +hi def link foxproString String +hi def link foxproConst Constant +hi def link foxproNumber Number +hi def link foxproFloat Float +hi def link foxproComment Comment +hi def link foxproParenErr Error +hi def link foxproCBConst PreProc +hi def link foxproCBField Special +hi def link foxproCBVar Identifier +hi def link foxproCBWin Special +hi def link foxproCBObject Identifier + + +let b:current_syntax = "foxpro" -- cgit v1.2.3