From 9c0873ae1ab685d09f05cc3c2e5233ced7fc920c Mon Sep 17 00:00:00 2001 From: Erik Mertens Date: Wed, 24 Apr 2024 10:24:55 +0200 Subject: [PATCH] - added basic enum support --- syntax/rpgle.vim | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/syntax/rpgle.vim b/syntax/rpgle.vim index 902b7fc..c1fd422 100644 --- a/syntax/rpgle.vim +++ b/syntax/rpgle.vim @@ -145,7 +145,7 @@ syntax keyword rpgleDclPiName *N " Prototype syntax keyword rpgleError END-PR syntax region rpgleDclSpec matchgroup=rpgleDclKeywords - \ keepend + \ keepend \ start=/\/ \ end=/\(\\|OVERLOAD\)/ \ contains=rpgleDclProp @@ -157,7 +157,13 @@ syntax keyword rpgleError LIKEDS LIKEREC END-DS syntax keyword rpgleError ;; syntax region rpgleDclSpec matchgroup=rpgleDclKeywords - \ keepend + \ keepend + \ start=/\/ + \ end=/\/ + \ contains=rpgleDclProp + +syntax region rpgleDclSpec matchgroup=rpgleDclKeywords + \ keepend \ start=/\/ \ end=/\/ \ contains=rpgleDclProp