diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-07-26 12:53:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-07-26 12:53:41 +0000 |
commit | 5eb86f91992f5291b8b472d3e1be1888508777e6 (patch) | |
tree | 15dcd4c748c38e99951e79d02eb1b93f3a6d3db9 /runtime/syntax/ocaml.vim | |
parent | 89cb5e0f646970371359c70927bf3a0cdaf47f27 (diff) | |
download | vim-5eb86f91992f5291b8b472d3e1be1888508777e6.zip |
updated for version 7.0012
Diffstat (limited to 'runtime/syntax/ocaml.vim')
-rw-r--r-- | runtime/syntax/ocaml.vim | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/runtime/syntax/ocaml.vim b/runtime/syntax/ocaml.vim index 95534a489..b2ff18d88 100644 --- a/runtime/syntax/ocaml.vim +++ b/runtime/syntax/ocaml.vim @@ -2,12 +2,12 @@ " Language: OCaml " Filenames: *.ml *.mli *.mll *.mly " Maintainers: Markus Mottl <markus@oefai.at> -" Karl-Heinz Sylla <Karl-Heinz.Sylla@gmd.de> -" Issac Trotts <<ijtrotts@ucdavis.edu> -" URL: http://www.oefai.at/~markus/vim/syntax/ocaml.vim -" Last Change: 2003 May 04 -" 2002 Oct 24 - Small fix for "module type" (MM) -" 2002 Jun 16 - Added "&&", "<" and ">" as operators (MM) +" Karl-Heinz Sylla <Karl-Heinz.Sylla@gmd.de> +" Issac Trotts <ijtrotts@ucdavis.edu> +" URL: http://www.oefai.at/~markus/vim/syntax/ocaml.vim +" Last Change: 2004 Jul 26 +" 2003 Jan 19 - Added keyword "require" for scripting (MM) +" 2002 Oct 30 - New variable "ocaml_revised" (MM) " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded @@ -24,7 +24,7 @@ syn case match syn match ocamlComment "^#!.*" " Scripting directives -syn match ocamlScript "^#\<\(quit\|labels\|warnings\|directory\|cd\|load\|use\|install_printer\|remove_printer\|trace\|untrace\|untrace_all\|print_depth\|print_length\)\>" +syn match ocamlScript "^#\<\(quit\|labels\|warnings\|directory\|cd\|load\|use\|install_printer\|remove_printer\|require\|trace\|untrace\|untrace_all\|print_depth\|print_length\)\>" " lowercase identifier - the standard way to match syn match ocamlLCIdentifier /\<\(\l\|_\)\(\w\|'\)*\>/ @@ -163,7 +163,7 @@ else syn match ocamlKeyChar "!" endif -syn keyword ocamlType array bool char exn float format int +syn keyword ocamlType array bool char exn float format format4 int syn keyword ocamlType list option string unit syn keyword ocamlOperator asr lor lsl lsr lxor mod not |