From cad681bca4f09bfa4c7adf77b25b9d4bc2f5081d Mon Sep 17 00:00:00 2001 From: Kearn Holliday Date: Fri, 15 May 2009 00:00:00 +0000 Subject: [PATCH] Version 1.1 the builtin 'contains' was was conflicting with a vim reserved word, fixed by changing to 'syn match' --- syntax/nimrod.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/syntax/nimrod.vim b/syntax/nimrod.vim index 4d0bf4d..41a4e79 100644 --- a/syntax/nimrod.vim +++ b/syntax/nimrod.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Nimrod " Maintainer: Kearn Holliday (thekearnman at gmail dot com) -" Updated: 2009-05-14 +" Updated: 2009-05-15 " " Options to control nimrod syntax highlighting: " @@ -106,7 +106,8 @@ if exists("nimrod_highlight_builtins") syn keyword nimrodBuiltin neginf nan QuitSuccess QuitFailure dbgLineHook stdin syn keyword nimrodBuiltin stdout stderr defined new high low sizeof succ pred syn keyword nimrodBuiltin inc dec newSeq len incl excl card ord chr ze ze64 - syn keyword nimrodBuiltin toU8 toU16 toU32 abs min max contains add repr + syn keyword nimrodBuiltin toU8 toU16 toU32 abs min max add repr + syn match nimrodBuiltin "\" syn keyword nimrodBuiltin toFloat toBiggestFloat toInt toBiggestInt addQuitProc syn keyword nimrodBuiltin copy setLen newString zeroMem copyMem moveMem syn keyword nimrodBuiltin equalMem alloc alloc0 realloc dealloc setLen assert