This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 79fbe53bb9 GROOVY-8162: Update Groovysh to JLine3 (trivial refactor - 
move "on" to a different group)
79fbe53bb9 is described below

commit 79fbe53bb9af0d4cef02b79c8e1ca8cb6755d192
Author: Paul King <pa...@asert.com.au>
AuthorDate: Wed Jul 30 11:28:54 2025 +1000

    GROOVY-8162: Update Groovysh to JLine3 (trivial refactor - move "on" to a 
different group)
---
 subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc 
b/subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc
index 0a14a35999..c4d570877e 100644
--- a/subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc
+++ b/subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc
@@ -25,9 +25,9 @@ CLASS:       "\<[A-Z]{0,2}([A-Z]{1}[a-z0-9]+){1,}\>"
 # Annotation
 VARIABLE:    "@[A-Za-z]+"
 
-FUNCTION:    "\<(assert|print|println|sleep|as|in)\>"
+FUNCTION:    "\<(assert|print|println|sleep|as|in|on)\>"
 FUNCTION:    
"^\s*\<(from|where|select|join|innerjoin|leftjoin|rightjoin|fulljoin|crossjoin|groupby|orderby|limit)\>"
-FUNCTION:    
"^\s*\<(innerhashjoin|lefthashjoin|righthashjoin|fullhashjoin|exists|having|distinct|on)\>"
+FUNCTION:    
"^\s*\<(innerhashjoin|lefthashjoin|righthashjoin|fullhashjoin|exists|having|distinct)\>"
 FUNCTION:    "\<(over|partitionby|rows|range|asc|desc|nullsfirst|nullslast)\>"
 JUMP:        "\<(break|continue)\>"
 NULL:        "\<(null)\>"

Reply via email to